Update user_detail.html

This commit is contained in:
Andrew Chen Wang 2023-07-03 07:37:15 -04:00 committed by GitHub
parent bef0b0d29a
commit e7e6ae6730
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,12 +22,11 @@
{% else %}
{% raw %}{{ object.username }}{% endraw %}
{% endif %}
{% raw %}
</h2>
{% if object.name %}<p>{{ object.name }}</p>{% endif %}
{% if cookiecutter.username_type == "username" %}{% raw %}{% if object.name %}<p>{{ object.name }}</p>{% endif %}{% endraw %}{% endif %}
</div>
</div>
{% if object == request.user %}
{% raw %}{% if object == request.user %}
<!-- Action buttons -->
<div class="row">
<div class="col-sm-12">