Ticket #2084: base.html.diff
File base.html.diff, 954 bytes (added by , 18 years ago) |
---|
-
django/contrib/admin/templates/admin/base.html
19 19 <div id="branding"> 20 20 {% block branding %}{% endblock %} 21 21 </div> 22 {% if not user.is_anonymous %} 22 {% if not user.is_anonymous %}{% if user.is_staff %} 23 23 <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 {% endif %} 24 {% endif %}{% endif %} 25 25 {% block nav-global %}{% endblock %} 26 26 </div> 27 27 <!-- END Header -->