mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-08-13 16:34:52 +03:00
Update user_detail.html
This commit is contained in:
parent
bef0b0d29a
commit
e7e6ae6730
|
@ -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">
|
||||
|
|
Loading…
Reference in New Issue
Block a user