Sha256: 826b4140c69e14415ee128b5171a50006718eb763443fe2521389e9bf5158845

Contents?: true

Size: 641 Bytes

Versions: 11

Compression:

Stored size: 641 Bytes

Contents

%ul.nav.navbar-nav.navbar-right.root_links
  - actions(:root).each do |action|
    %li{class: "#{action.action_name}_root_link"}= link_to wording_for(:menu, action), { action: action.action_name, controller: 'rails_admin/main' }, class: action.pjax? ? "pjax" : ""
  - if main_app_root_path = (main_app.root_path rescue false)
    %li= link_to t('admin.home.name'), main_app_root_path
  - if _current_user
    - if user_link = edit_user_link
      %li.edit_user_root_link= user_link
    - if logout_path.present?
      %li= link_to content_tag('span', t('admin.misc.log_out'), class: 'label label-danger'), logout_path, method: logout_method

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
rails_admin-1.4.3 app/views/layouts/rails_admin/_secondary_navigation.html.haml
rails_admin-2.0.0.beta app/views/layouts/rails_admin/_secondary_navigation.html.haml
rails_admin-1.4.2 app/views/layouts/rails_admin/_secondary_navigation.html.haml
rails_admin-1.4.1 app/views/layouts/rails_admin/_secondary_navigation.html.haml
rails_admin-1.4.0 app/views/layouts/rails_admin/_secondary_navigation.html.haml
rails_admin-1.3.0 app/views/layouts/rails_admin/_secondary_navigation.html.haml
rails_admin-1.2.0 app/views/layouts/rails_admin/_secondary_navigation.html.haml
rails_admin-1.1.1 app/views/layouts/rails_admin/_secondary_navigation.html.haml
rails_admin-1.1.0 app/views/layouts/rails_admin/_secondary_navigation.html.haml
rails_admin-1.0.0 app/views/layouts/rails_admin/_secondary_navigation.html.haml
rails_admin-1.0.0.rc app/views/layouts/rails_admin/_secondary_navigation.html.haml