Sha256: 4ca708a5f941e80d554b6a849c7fd41b0fbf3b16c46dbefb360aa0f1d30fd830

Contents?: true

Size: 819 Bytes

Versions: 10

Compression:

Stored size: 819 Bytes

Contents

%ul.nav.pull-right
  - actions(:root).each do |action|
    %li= 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').capitalize, 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-important'), logout_path, :method => Devise.sign_out_via
    - 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

10 entries across 10 versions & 2 rubygems

Version Path
rails_admin-0.5.0 app/views/layouts/rails_admin/_secondary_navigation.html.haml
rails_admin-0.4.9 app/views/layouts/rails_admin/_secondary_navigation.html.haml
rails_admin-0.4.8 app/views/layouts/rails_admin/_secondary_navigation.html.haml
rails_admin-0.4.7 app/views/layouts/rails_admin/_secondary_navigation.html.haml
rails_admin-0.4.6 app/views/layouts/rails_admin/_secondary_navigation.html.haml
rails_admin-0.4.5 app/views/layouts/rails_admin/_secondary_navigation.html.haml
rails_admin-0.4.4 app/views/layouts/rails_admin/_secondary_navigation.html.haml
rails_admin-lbgraham-0.4.2 app/views/layouts/rails_admin/_secondary_navigation.html.haml
rails_admin-0.4.3 app/views/layouts/rails_admin/_secondary_navigation.html.haml
rails_admin-0.4.2 app/views/layouts/rails_admin/_secondary_navigation.html.haml