Sha256: 5df3f9797ce95ce96422e6983309d9167e952668fb63970a243b3122c045e05a
Contents?: true
Size: 847 Bytes
Versions: 2
Compression:
Stored size: 847 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: "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= 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 - if _current_user.respond_to?(:email) && _current_user.email.present? %li= image_tag "#{(request.ssl? ? 'https://secure' : 'http://www')}.gravatar.com/avatar/#{Digest::MD5.hexdigest _current_user.email}?s=30", style: 'padding-top:5px'
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rails_admin-0.6.8 | app/views/layouts/rails_admin/_secondary_navigation.html.haml |
rails_admin-0.6.7 | app/views/layouts/rails_admin/_secondary_navigation.html.haml |