Sha256: caa702d75dab923a30c8ea474618fb72404de320e32ff9d479a0ef7f1ad1052c

Contents?: true

Size: 694 Bytes

Versions: 5

Compression:

Stored size: 694 Bytes

Contents

%ul.nav.navbar-nav
  %li.dropdown
    %a.dropdown-toggle{ href: '#', 'data-toggle': 'dropdown', role: 'button', 'aria-has-popup': true, 'aria-expanded': false }
      -if user_signed_in?
        = current_user.email
      - else
        = t('.not_signed_in')
      %span.caret
    %ul.dropdown-menu
      - if user_signed_in?
        %li= link_to t('.show'), ecm_user_area.current_user_path
        %li= link_to t('.sign_out'), ecm_user_area.user_session_path, method: :delete
      - else
        %li= link_to t('.sign_in'), ecm_user_area.new_user_session_path
        - if Ecm::UserArea::Configuration.enable_registrations
          %li= link_to t('.new'), ecm_user_area.new_current_user_path

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ecm_user_area2-4.0.2 app/views/ecm/user_area/navigation_dropdown/_bootstrap3.html.haml
ecm_user_area2-4.0.1 app/views/ecm/user_area/navigation_dropdown/_bootstrap3.html.haml
ecm_user_area2-3.1.2 app/views/ecm/user_area/navigation_dropdown/_bootstrap3.html.haml
ecm_user_area2-3.1.1 app/views/ecm/user_area/navigation_dropdown/_bootstrap3.html.haml
ecm_user_area2-3.1.0 app/views/ecm/user_area/navigation_dropdown/_bootstrap3.html.haml