|
|
@@ -24,7 +24,7 @@ |
|
|
|
{% if item.icon is not empty %}<i class="fa fa-fw {{ item.icon }}"></i>{% endif %} |
|
|
|
<p>{{ item.label|trans(domain = translation_domain) }} |
|
|
|
{% if item.children|default([]) is not empty %}<i class="right fas fa-angle-left"></i>{% endif %} |
|
|
|
{% if item.params.count_menu_item is defined %}<span class="badge badge-{{ item.params.alert is defined ? 'danger' : 'info' }} right">{{ count_menu_items(item.params.count_menu_item) }}</span>{% endif %} |
|
|
|
{% if item.params.count_menu_item is defined and count_menu_items(item.params.count_menu_item) > 0 %}<span class="badge badge-{{ item.params.alert is defined ? 'danger' : 'info' }} right">{{ count_menu_items(item.params.count_menu_item) }}</span>{% endif %} |
|
|
|
</p> |
|
|
|
</a> |
|
|
|
{% endif %} |