
<!-- WAGTAIL TEMPLATE OVERRIDE
Original file: wagtail/admin/templates/wagtailadmin/home/account_summary.html
This file is overridden from the "dashboard" app to customize the editor guide link.
⚠️ If Wagtail is updated, make sure to check for any changes to the original template. -->

{% load wagtailadmin_tags wagtailcore_tags i18n %}
<div class="w-hidden lg:w-flex w-gap-5 w-pt-4 w-mb-[3.5rem] w-px-[3.75rem] w-border-l w-border-border-furniture">
  {% avatar user size="large" edit_link=True %}
  <div>
    <h2 class="w-label-1 w-mt-0 w-mb-1">{{ user|user_display_name }}</h2>
    <ul class="w-list-none w-p-0 w-m-0 w-flex w-flex-col w-gap-1">
      <li>
        <a class="w-underline w-underline-offset-[3px]"
           href="{% url 'wagtailadmin_account' %}">{% translate "Account" %}</a>
      </li>
      <li>
        <a class="w-underline w-underline-offset-[3px] w-flex w-items-center w-gap-1"
           href="https://sites.beta.gouv.fr/contactez-le-support/"
           target="_blank"
           rel="noreferrer">
          {% translate "Contact us" %}
          {% icon name="link-external" classname="initial" %}
        </a>
      </li>
    </ul>
  </div>
</div>
