{% load i18n cap_menu cap_tags %} {% get_menu request as menu %} {% with cap_layout='layout'|cap_conf:request %}
{% if menu.aligned_right_menu_items %} {% endif %}
{% if cap_layout == 'horizontal' and menu and menu.active_parent_item %}
{% endif %} {% endwith %}