Ticket #2152: base.diff

File base.diff, 1.1 KB (added by Sergey Kirillov <rushman@…>, 18 years ago)

patch

  • base.html

     
    2121        {% block branding %}{% endblock %}
    2222        </div>
    2323        {% 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>
    2525        {% endif %}{% endif %}
    2626        {% block nav-global %}{% endblock %}
    2727    </div>
Back to Top