Ticket #2152: base.diff
File base.diff, 1.1 KB (added by , 18 years ago) |
---|
-
base.html
21 21 {% block branding %}{% endblock %} 22 22 </div> 23 23 {% if not user.is_anonymous %}{% if user.is_staff %} 24 <div id="user-tools">{% trans 'Welcome,' %} <strong>{% if user.first_name %}{{ user.first_name }}{% else %}{{ user.username }}{% endif %}</strong>. {% block userlinks %}<a href="doc/">{% trans 'Documentation' %}</a> / <a href="password_change/">{% trans 'Change password' %}</a> / <a href="logout/">{% trans 'Log out' %}</a>{% endblock %}</div>24 <div id="user-tools">{% trans 'Welcome,' %} <strong>{% if user.first_name %}{{ user.first_name|escape }}{% else %}{{ user.username|escape }}{% endif %}</strong>. {% block userlinks %}<a href="doc/">{% trans 'Documentation' %}</a> / <a href="password_change/">{% trans 'Change password' %}</a> / <a href="logout/">{% trans 'Log out' %}</a>{% endblock %}</div> 25 25 {% endif %}{% endif %} 26 26 {% block nav-global %}{% endblock %} 27 27 </div>