Skip to content

Commit

Permalink
Update user_detail.html
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew-Chen-Wang authored Jul 3, 2023
1 parent bef0b0d commit e7e6ae6
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,11 @@ <h2>
{% 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">
Expand Down

0 comments on commit e7e6ae6

Please sign in to comment.