Sha256: 02cbc7fea94706a0b4c6e1a1dd5eda485f2e52b0c41682743cab4356d1ed2e1f

Contents?: true

Size: 1.02 KB

Versions: 1

Compression:

Stored size: 1.02 KB

Contents

nav.navigation class="#{class_name rescue ''}"
  = link_to root_path, class: 'brand-logo' do
    = image_tag 'locomotive/logo-white.png'

  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
        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'), 'http://locomotive-v3.readme.io', target: '_blank'
        li class="divider"
        li= link_to t(:logout, scope: 'locomotive.shared.header'), sign_out_path, data: { method: 'delete' }

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
locomotivecms-3.1.0.rc1 app/views/locomotive/shared/_account_navigation.slim