mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-08-14 00:44:53 +03:00
Update user_detail.html
This commit is contained in:
parent
bef0b0d29a
commit
e7e6ae6730
|
@ -22,12 +22,11 @@
|
||||||
{% else %}
|
{% else %}
|
||||||
{% raw %}{{ object.username }}{% endraw %}
|
{% raw %}{{ object.username }}{% endraw %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% raw %}
|
|
||||||
</h2>
|
</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>
|
||||||
</div>
|
</div>
|
||||||
{% if object == request.user %}
|
{% raw %}{% if object == request.user %}
|
||||||
<!-- Action buttons -->
|
<!-- Action buttons -->
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-sm-12">
|
<div class="col-sm-12">
|
||||||
|
|
Loading…
Reference in New Issue
Block a user