{# One full-width row: avatar, name over email, and the up-down chevron #}
{# that marks it as a menu. A faint fill and border at rest say it is a #}
{# button before it is pointed at. #}
{% firstof request.user.get_full_name request.user.get_username %}
{% if request.user.email %}
{{ request.user.email }}
{% endif %}
{% comment %}
`{% url as %}` leaves the name unset on a false branch, so
`has_rows_above` below reflects what was actually drawn.
{% endcomment %}
{% url "account-center" as account_center_url %}
{% url "account_logout" as logout_url %}
{% if request.user.is_staff %}{% url "admin:index" as admin_url %}{% endif %}