mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-23 08:03:49 +00:00
FEATURE [menu][counters] show counter icon for person resources and residential address if there are any
This commit is contained in:
@@ -17,8 +17,12 @@
|
||||
|
||||
<div class="list-group vertical-menu {{ 'menu-' ~ menus.name }}">
|
||||
{% for menu in menus %}
|
||||
|
||||
<a class="list-group-item list-group-item-action"
|
||||
href="{{ menu.uri }}">
|
||||
{% if menu.extras.counter is defined and menu.extras.counter is not null %}
|
||||
<span class="badge rounded-pill bg-danger notification-counter">{{ menu.extras.counter }}</span>
|
||||
{% endif %}
|
||||
{{ menu.label|upper }}
|
||||
</a>
|
||||
{% endfor %}
|
||||
|
Reference in New Issue
Block a user