Ticket #7467: ticket-7467-01.diff

File ticket-7467-01.diff, 791 bytes (added by rctay, 5 years ago)

See comment 6.

  • django/contrib/admin/templates/admin/base.html

    diff --git a/django/contrib/admin/templates/admin/base.html b/django/contrib/admin/templates/admin/base.html
    index d1216a1..d793618 100644
    a b  
    2424        </div>
    2525        {% if user.is_active and user.is_staff %}
    2626        <div id="user-tools">
    27             {% trans 'Welcome,' %}
    28             <strong>{% firstof user.first_name user.username %}</strong>.
     27            {% block welcome-msg %}
     28                {% trans 'Welcome,' %}
     29                <strong>{% firstof user.first_name user.username %}</strong>.
     30            {% endblock %}
    2931            {% block userlinks %}
    3032                {% url django-admindocs-docroot as docsroot %}
    3133                {% if docsroot %}
Back to Top