84d5293fbc
- Always use templatetag 'absolute_url' instead of (depricated) 'model_url'. Search and replace all old arguments: edit -> update, view -> detail, delete - Fixed bug in setting default value in 'absolute_url' templatetag (default value is defined in models.py only). Updated 'backend' template.
20 lines
413 B
HTML
20 lines
413 B
HTML
{% load i18n %}
|
|
|
|
<h1>
|
|
{{ shown_user.clean_name }}<br>
|
|
<small>{{ shown_user.structure_level }}</small>
|
|
<hr>
|
|
</h1>
|
|
|
|
{% if shown_user.committee %}
|
|
<p>{{ shown_user.committee }}</p>
|
|
{% endif %}
|
|
|
|
<p>
|
|
{% if shown_user.groups.all %}
|
|
{% for group in shown_user.groups.all %}
|
|
{% trans group.name %}{% if not forloop.last %}<br> {% endif %}
|
|
{% endfor %}
|
|
{% endif %}
|
|
</p>
|