feat: link ephub from account dashboard for eligible users

This commit is contained in:
fromme committed 2026-11-13 15:48:54 +01:00
1 parent 6cfaaf1ba9
commit 3247df1171
1 file changed
+8
+8
View File
@@ -22,6 +22,14 @@
<span class="text-xl uppercase text-white group-hover:text-primary-light">Meine Daten</span> <span class="text-xl uppercase text-white group-hover:text-primary-light">Meine Daten</span>
</a> </a>
</li> </li>
{% if is_granted('ROLE_EMPLOYEE') %}
<li class="py-4">
<a href="https://platz.ep-reisen.de/auth/init" class="flex items-center space-x-2 group" hx-boost="false">
<svg class="w-8 h-8 text-white group-hover:text-primary-light" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-monitor preview-icon"><rect width="20" height="14" x="2" y="3" rx="2"/><line x1="8" x2="16" y1="21" y2="21"/><line x1="12" x2="12" y1="17" y2="21"/></svg>
<span class="text-xl uppercase text-white group-hover:text-primary-light">Platz-Buchung</span>
</a>
</li>
{% endif %}
{% if is_granted(constant('App\\Security\\Voter\\AdministrativeAccessVoter::ADMINISTRATIVE_ACCESS')) %} {% if is_granted(constant('App\\Security\\Voter\\AdministrativeAccessVoter::ADMINISTRATIVE_ACCESS')) %}
<li class="py-4"> <li class="py-4">
<a href="{{ path('app_admin_dashboard') }}" class="flex items-center space-x-2 group" hx-boost="false"> <a href="{{ path('app_admin_dashboard') }}" class="flex items-center space-x-2 group" hx-boost="false">