I change the base.html, maybe not a good idea, but it works now:

-        <div id="user-tools">{% trans 'Welcome,' %} <strong>{% if
user.first_name %}{{ user.first_name }}{% else %}{{ user.username }}{%
endif %}</strong>. <br />{% block userlinks %}<a
href="/admin/password_change/">{% trans 'Change password' %}</a> / <a
href="/admin/logout/">{% trans 'Log out' %}</a>{% endblock %}</div>
+        <div id="user-tools">{% trans 'Welcome,' %} <strong>{% if
user.first_name %}{{ user.first_name }}{% else %}{{ user.username }}{%
endif %}</strong>. <br />{% block userlinks %}<a
href="password_change/">{% trans 'Change password' %}</a> / <a
href="logout/">{% trans 'Log out' %}</a>{% endblock %}</div>

Reply via email to