{% import 'apostrophe-ui:components/dropdowns.html' as dropdowns with context -%} {%- macro listMenu() -%}
  • {{ __('Edit Account') }}
  • {{ __('Logout') }}
  • {%- endmacro -%} {%- if data.permissions.edit -%}
    {{ dropdowns.base({ label: 'Account', items: [] }, 'admin', { direction: 'down', listMacro: listMenu } ) }}
    {%- endif -%}