Sha256: 0f94f3acab69b337e0100fb85781541a00c4c1d65495571d1d5c614954da03b0

Contents?: true

Size: 774 Bytes

Versions: 5

Compression:

Stored size: 774 Bytes

Contents

%li.nav-item.dropdown
  %a#dropdown02.nav-link.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')
  .dropdown-menu{"aria-labelledby" => "dropdown02"}
    - if user_signed_in?
      = link_to t('.show'), ecm_user_area.current_user_path, class: 'dropdown-item'
      = link_to t('.sign_out'), ecm_user_area.user_session_path, class: 'dropdown-item', method: :delete
    - else
      = link_to t('.sign_in'), ecm_user_area.new_user_session_path, class: 'dropdown-item'
      - if Ecm::UserArea::Configuration.enable_registrations
        = link_to t('.new'), ecm_user_area.new_current_user_path, class: 'dropdown-item'

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/_bootstrap4.html.haml
ecm_user_area2-4.0.1 app/views/ecm/user_area/navigation_dropdown/_bootstrap4.html.haml
ecm_user_area2-3.1.2 app/views/ecm/user_area/navigation_dropdown/_bootstrap4.html.haml
ecm_user_area2-3.1.1 app/views/ecm/user_area/navigation_dropdown/_bootstrap4.html.haml
ecm_user_area2-3.1.0 app/views/ecm/user_area/navigation_dropdown/_bootstrap4.html.haml