Verified Commit cfd31297 authored by julian's avatar julian 😀
Browse files

Merge branch 'master' of gitlab.com:consistency/c33s/knp-menu-extra-bundle

parents 9ddd2eb7 fbb7ff4b
{% extends 'knp_menu.html.twig' %}
{% extends '@KnpMenu/menu.html.twig' %}
{% block linkElement %}
{% spaceless %}
......@@ -18,12 +18,3 @@
</a>
{% endspaceless %}
{% endblock %}
{% block label %}
{%- set translation_domain = item.extra('translation_domain', 'messages') -%}
{%- set label = item.label -%}
{%- if translation_domain is not same as(false) -%}
{%- set label = label|trans(item.extra('translation_params', {}), translation_domain) -%}
{%- endif -%}
{%- if options.allow_safe_labels and item.extra('safe_label', false) %}{{ label|raw }}{% else %}{{ label }}{% endif -%}
{% endblock %}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment