Sha256: 827d93b82c23609ea59ba3994161f2317d026bad5001eecbb92148ced4f8fa31

Contents?: true

Size: 826 Bytes

Versions: 1

Compression:

Stored size: 826 Bytes

Contents

= link_to 'Qbrick CMS', qbrick.cms_root_path, class: 'brand'

%ul.nav.pull-right.language-navigation
  - if render_language_switch?
    - I18n.available_locales.each do |locale|
      %li{ class: (:active if I18n.locale.to_s == locale.to_s) }
        = link_to_content_locale(locale)

  %li.dropdown
    = link_to '#', class: 'dropdown-toggle', data: { toggle: 'dropdown' } do
      = t('.account')
      %b.caret
    %ul.dropdown-menu
      %li= link_to t('.change_password'), qbrick.edit_cms_account_path
      %li= link_to t('.logout'), qbrick.destroy_admin_session_path, method: :delete

%ul.nav
  %li= link_to t('.settings'), qbrick.cms_settings_collections_path
  %li= link_to Qbrick::Page.model_name.human(count: 2), qbrick.cms_pages_path
  %li= link_to Qbrick::Admin.model_name.human(count: 2), qbrick.cms_admins_path

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
qbrick-2.6.10 app/views/qbrick/cms/backend/_main_navigation.html.haml