diff --git a/fet2020/templates/admin/base.html b/fet2020/templates/admin/base.html new file mode 100644 index 00000000..9d29ab17 --- /dev/null +++ b/fet2020/templates/admin/base.html @@ -0,0 +1,28 @@ +{% extends "admin/base.html" %} +{% load i18n admin_urls %} + +{% block usertools %} +{% if has_permission %} +
+ {% block welcome-msg %} + {% translate 'Welcome,' %} + {% firstof user.get_short_name user.get_username %}. + {% endblock %} + {% block userlinks %} + {% if site_url %} + Zurück zur FET Homepage + {% endif %} + {% if user.is_active and user.is_staff %} + {% url 'django-admindocs-docroot' as docsroot %} + {% if docsroot %} + {% translate 'Documentation' %} + {% endif %} + {% endif %} + {% if user.has_usable_password %} + {% translate 'Change password' %} + {% endif %} + {% translate 'Log out' %} + {% endblock %} +
+{% endif %} +{% endblock %}