{% import 'components/menu_labels.html' as ml with context %} {# We need to use "with context" to disable cache, needed for i18n. #} {% macro menu(menus, class='is-light') %} {{ icon_defs("bell", "circle-user") }} {% for menu in menus %} {{ icon_defs(menu.icon) }} {% endfor %} {% endmacro %} {% macro action_button(url, label=_("create"), icon="plus-circled", class="is-primary is-rounded", id=none) %}  {{label}} {% endmacro %}