feat: show the teamer record sections as tabs and the profile as cards

This commit is contained in:
fromme committed 2026-11-12 11:13:30 +01:00
1 parent ec3fd68695
commit 5ca9b812c3
8 files changed
+425 -569

No files matched your search

+25 -29
View File
@@ -3,33 +3,29 @@
{% block title %}Selektionsmerkmale {{ teamer }}{% endblock %}
{% block content %}
<div class="grid lg:grid-cols-3 gap-y-8 lg:gap-y-0 lg:gap-x-8">
<div>
{{ knp_menu_render(knp_menu_get('default_teamer')) }}
</div>
<div class="lg:col-span-2">
<h1 class="text-2xl font-bold pb-8">
Selektionsmerkmale {{ teamer }}
</h1>
{% for group, attributes in teamer.crmSelections %}
<h2 class="font-bold text-lg">
{{ group }}
</h2>
{% if attributes|length %}
<ul class="pb-4">
{% for attribute in attributes %}
<li class="flex items-center space-x-2">
{{ icon('check', 'w-4 h-4') }}
<span>{{ attribute }}</span>
</li>
{% endfor %}
</ul>
{% else %}
<div class="text-sm pb-4">
-
</div>
{% endif %}
{% endfor %}
</div>
{{ knp_menu_render(knp_menu_get('default_teamer'), { 'template': '_partials/_tabs.html.twig' }) }}
<div>
<h1 class="text-2xl font-bold pb-8">
Selektionsmerkmale {{ teamer }}
</h1>
{% for group, attributes in teamer.crmSelections %}
<h2 class="font-bold text-lg">
{{ group }}
</h2>
{% if attributes|length %}
<ul class="pb-4">
{% for attribute in attributes %}
<li class="flex items-center space-x-2">
{{ icon('check', 'w-4 h-4') }}
<span>{{ attribute }}</span>
</li>
{% endfor %}
</ul>
{% else %}
<div class="text-sm pb-4">
-
</div>
{% endif %}
{% endfor %}
</div>
{% endblock %}
{% endblock %}