Ticket #2084: base.html.diff

File base.html.diff, 954 bytes (added by Rudolph Froger, 18 years ago)
  • django/contrib/admin/templates/admin/base.html

     
    1919        <div id="branding">
    2020        {% block branding %}{% endblock %}
    2121        </div>
    22         {% if not user.is_anonymous %}
     22        {% if not user.is_anonymous %}{% if user.is_staff %}
    2323        <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 %}
    2525        {% block nav-global %}{% endblock %}
    2626    </div>
    2727    <!-- END Header -->
Back to Top