Sha256: 396df96b816c4f7ac519cb77d72acb1d0ac5990bef14f62377d35b6681fc1dab

Contents?: true

Size: 940 Bytes

Versions: 8

Compression:

Stored size: 940 Bytes

Contents

ul.navigation-links
  li.dropdown
    = link_to '#', id: 'navigation-dropdown', class: 'dropdown-toggle', data: { toggle: 'dropdown' }, aria: { haspopup: 'true', expanded: 'false' } do
      = image_tag account_avatar_url(current_locomotive_account), class: 'img-circle', alt: current_locomotive_account.name_was
      span= current_locomotive_account.name_was
      span.caret

    ul.dropdown-menu role='menu' aria-labelledby="navigation-dropdown"
      li= link_to t(:sites, scope: 'locomotive.shared.header'), sites_path
      - if policy(current_locomotive_account).edit?
        li= link_to t(:account, scope: 'locomotive.shared.header'), edit_my_account_path(_location: request.fullpath)
      li= link_to t(:help, scope: 'locomotive.shared.header'), 'https://doc.locomotivecms.com', target: '_blank'
      li class="divider"
      li= link_to t(:logout, scope: 'locomotive.shared.header'), sign_out_path, data: { method: 'delete' }

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
locomotivecms-4.2.0.alpha2 app/views/locomotive/shared/account/_navigation.html.slim
locomotivecms-4.2.0.alpha1 app/views/locomotive/shared/account/_navigation.html.slim
locomotivecms-4.1.1 app/views/locomotive/shared/account/_navigation.html.slim
locomotivecms-4.1.0 app/views/locomotive/shared/account/_navigation.html.slim
locomotivecms-4.1.0.rc1 app/views/locomotive/shared/account/_navigation.html.slim
locomotivecms-4.0.3 app/views/locomotive/shared/account/_navigation.html.slim
locomotivecms-4.0.2 app/views/locomotive/shared/account/_navigation.html.slim
locomotivecms-4.0.1 app/views/locomotive/shared/account/_navigation.html.slim