Revision c2f4725d templates/base.html
b/templates/base.html | ||
---|---|---|
39 | 39 |
{% if user.is_authenticated %} |
40 | 40 |
<span class="topmenuuser">{% trans "Welcome" %} <strong>{{user}}</strong></span> |
41 | 41 |
{% endif %} |
42 |
{% comment %} |
|
42 |
|
|
43 | 43 |
<span {% if user.is_authenticated %}class="topmenuaction"{% else %}class="topmenuuser"{% endif %} > |
44 | 44 |
<form action="{% url django.views.i18n.set_language %}" method="post" style="display:inline;" id="langform"> |
45 | 45 |
{% csrf_token %} |
... | ... | |
49 | 49 |
{% endfor %} |
50 | 50 |
</form> |
51 | 51 |
</span> |
52 |
{% endcomment %} |
|
52 |
|
|
53 | 53 |
{% if user.is_authenticated %} |
54 | 54 |
<span class="topmenuaction"><a href="{% url user-profile %}">{% trans "My profile" %}</a></span> |
55 | 55 |
{% if user.is_superuser %} |
Also available in: Unified diff