{% extends "admin/base.html" %}
{% load i18n admin_urls %}

{% block usertools %}
{% if has_permission %}
<div id="user-tools" style="font-size:13px;">
    {% block welcome-msg %}
        {% translate 'Welcome,' %}
        <strong>{% firstof user.get_short_name user.get_username %}</strong>.
    {% endblock %}
    {% block userlinks %}
        {% if site_url %}
            <a class="button" href="{{ site_url }}">Zurück zur FET Homepage</a>
        {% endif %}
        <a class="button" href="{% url 'admin:logout' %}">{% translate 'Log out' %}</a>
    {% endblock %}
</div>
{% endif %}
{% endblock %}
