+ <div id="user-menu">
+ <ul>
+ <li>
+ <a href="{% url 'user_settings' %}" tabindex="-1">
+ <strong>
+ {{ request.user.username }}
+ </strong>
+ </a>
+ </li>
+ {% if request.user.is_staff %}
+ <li><a href="{% url 'admin:index' %}" tabindex="-1">Administracja</a></li>
+ {% endif %}
+ <li><a href="{% url 'logout' %}?next={% block logout %}{{ request.get_full_path }}{% endblock %}" tabindex="-1">Wyloguj się</a></li>
+ </ul>
+ </div>