source/View/Templates/Components/_navigationHeader.html.twig line 1

Open in your IDE?
  1. {% if app.user %}
  2.     <div class="flex h-full mr-auto">
  3.         <a href="{{ path("dashboard") }}"
  4.            class="flex items-center ring-inset px-3 pt-1 h-full text-base border-b-4 border-transparent hover:border-zpid-blue
  5.             {{- app.request.pathinfo == path("dashboard") ? ' border-zpid-blue font-semibold' -}}">
  6.             {# Icon: mdi:view-grid #}
  7.             <svg class="mr-0.5 h-4 w-4 self-center" xmlns="http://www.w3.org/2000/svg"
  8.                  xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img"
  9.                  style="vertical-align: -0.125em;" width="1em" height="1em" preserveAspectRatio="xMidYMid meet"
  10.                  viewBox="0 0 24 24">
  11.                 <path d="M3 11h8V3H3m0 18h8v-8H3m10 8h8v-8h-8m0-10v8h8V3" fill="currentColor"/>
  12.             </svg>
  13.             {{ "title.dashboard.title"|trans }}
  14.         </a>
  15.         <a href="{{ path("Study-overview") }}"
  16.            class="flex items-center ring-inset h-full px-3 ml-4 text-base pt-1 border-b-4 border-transparent hover:border-zpid-blue
  17.             {{- isPartOfStudyDocumentation|default(false) ? ' border-zpid-blue font-semibold' -}}">
  18.             <div>
  19.                 {{ "title.dashboard.modules.documentation.title"|trans }}
  20.             </div>
  21.         </a>
  22.     </div>
  23. {% endif %}