{% load i18n %}

<section class="page-meta">
  <div class="{% if request.user.is_authenticated %}logged-in{% endif %}">
    {% if request.user.is_authenticated %}
      <div class="login-meta">
        <p>
          {% translate 'Logged in as' %}: <a href="{% url 'account_detail' %}">{{ request.user }}</a>
        </p>
      </div>
    {% endif %}
    {% include 'partials/language-switcher.html' %}
  </div>
</section>
