Commit 2bc51438 authored by Tim Graham's avatar Tim Graham
Browse files

Fixed #7467 -- Added a template block to override the admin welcome message.

Thanks Jeff Kowalczyk for the suggestion and rctay for the patch.
parent 30fc49a7
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -26,8 +26,10 @@
        </div>
        {% if user.is_active and user.is_staff %}
        <div id="user-tools">
            {% block welcome-msg %}
                {% trans 'Welcome,' %}
                <strong>{% firstof user.get_short_name user.get_username %}</strong>.
            {% endblock %}
            {% block userlinks %}
                {% url 'django-admindocs-docroot' as docsroot %}
                {% if docsroot %}