Sha256: 73723e581217285b3cac147cec8cca0e9f0b1c8500206bb5de03c723e067cdc4

Contents?: true

Size: 689 Bytes

Versions: 5

Compression:

Stored size: 689 Bytes

Contents

.dropdown
  %button.btn.btn-secondary.btn-sm.dropdown-toggle(type="button" id="ddTopmenuUser" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false")
    %span.user-info Admin

  .dropdown-menu.dropdown-menu-right(aria-labelledby="ddTopmenuUser")
    %a.dropdown-item{:href => '#'}
      = fa_icon "user"
      #{current_cms_admin_user.email}

    %a.dropdown-item{ href: "#"}
      = fa_icon "cog"
      Settings
    %a.dropdown-item{ href: "/profile"}
      <i class="fa fa-user"></i> Profile

    .dropdown-divider

    =link_to destroy_cms_admin_user_session_path, :method => :delete, :class=>'dropdown-item' do
      = fa_icon "fa-power-off"
      Logout

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
optimacms-0.3.15 app/views/optimacms/admin/shared/_menu_user.html.haml
optimacms-0.3.12 app/views/optimacms/admin/shared/_menu_user.html.haml
optimacms-0.3.11 app/views/optimacms/admin/shared/_menu_user.html.haml
optimacms-0.3.4 app/views/optimacms/admin/shared/_menu_user.html.haml
optimacms-0.3.3 app/views/optimacms/admin/shared/_menu_user.html.haml