feat: adopt ep-design 1.3.0 in admin

This commit is contained in:
fromme committed 2026-11-13 12:42:00 +01:00
1 parent df564c30ae
commit e517163c9a
19 files changed
+127 -140

No files matched your search

@@ -9,14 +9,15 @@
{% set is_button = not url and attributes.all|keys|filter(k => k starts with 'hx-')|length > 0 %}
{% set body %}
{% if icon %}{{ include('_partials/_icon.html.twig', {icon: icon, class: 'size-4 text-muted'}) }}{% endif %}
{% if parts is not null %}
{% for part in parts|filter(p => p is not empty) %}
{% if not loop.first %}<span class="entry-dot" aria-hidden="true">·</span>{% endif %}
<span>{{ part }}</span>
{% endfor %}
{% else %}
<span>{{ block('content') }}</span>
{% endif %}
<span class="entry-text">
{%- if parts is not null -%}
{%- for part in parts|filter(p => p is not empty) -%}
{% if not loop.first %} <span class="entry-dot" aria-hidden="true">·</span> {% endif %}<span>{{ part }}</span>
{%- endfor -%}
{%- else -%}
{{ block('content') }}
{%- endif -%}
</span>
{% endset %}
{% set attrs = attributes.defaults({class: 'entry-link'}).without('url', 'icon', 'parts') %}
<li>