Finished implementation of configuration resolver

This commit is contained in:
2025-01-09 14:20:59 +01:00
parent 8fb0cecfbe
commit c87c1df10a
4 changed files with 34 additions and 17 deletions

View File

@@ -19,7 +19,11 @@
{% else %}
<li>
<a class="dropdown-item" href="{{ subitem.href }}" target="{{ subitem.target|default('_blank') }}" data-bs-toggle="tooltip" title="{{ subitem.description }}">
{% if subitem.icon is defined and subitem.icon.class is defined %}
<i class="{{ subitem.icon.class }}"></i> {{ subitem.name }}
{% else %}
<p>Fehlendes Icon im Subitem: {{ subitem }}</p>
{% endif %}
</a>
</li>
{% endif %}