Browse files

Fixed #7467 -- Added a template block to override the admin welcome m…

…essage.

Thanks Jeff Kowalczyk for the suggestion and rctay for the patch.
  • Loading branch information...
1 parent 30fc49a commit 2bc51438664b5ffbbd1430b4f9f3307f18b2b9db @timgraham timgraham committed Sep 10, 2013
Showing with 4 additions and 2 deletions.
  1. +4 −2 django/contrib/admin/templates/admin/base.html
View
6 django/contrib/admin/templates/admin/base.html
@@ -26,8 +26,10 @@
</div>
{% if user.is_active and user.is_staff %}
<div id="user-tools">
- {% trans 'Welcome,' %}
- <strong>{% firstof user.get_short_name user.get_username %}</strong>.
+ {% 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 %}

0 comments on commit 2bc5143

Please sign in to comment.