eleven-8.x-1.0-beta5/elevenfeat/templates/toolbar/links--toolbar-user.html.twig
elevenfeat/templates/toolbar/links--toolbar-user.html.twig
{% if links -%} {%- if heading -%} {%- if heading.level -%} <{{ heading.level }}{{ heading.attributes }}>{{ heading.text }}</{{ heading.level }}> {%- else -%} <h2{{ heading.attributes }}>{{ heading.text }}</h2> {%- endif -%} {%- endif -%} <ul{{ attributes.addClass('').removeclass('operations', 'clearfix') }}> {%- for item in links -%} <li{{ item.attributes.addClass('menu-item--0') }}> {%- if item.link -%} {{ item.link }} {%- elseif item.text_attributes -%} <span{{ item.text_attributes }}>{{ item.text }}</span> {%- else -%} {{ item.text }} {%- endif -%} </li> {%- endfor -%} </ul> {%- endif %}