Better nesting of staff check
</a>
</li>
+ {% if user.is_authenticated %}
{% if user.is_staff %}
<li role="presentation" class="mobile-menu">
<a href="{% url 'admin:index' %}">
</li>
{% endif %}
- {% if user.is_authenticated %}
<li role="presentation" class="divider mobile-menu">
<a href="{% url 'auth_logout' %}">
{% comment %} Translators: Shown in the top bar of almost every page when the current user is logged in. {% endcomment %}
