Sha256: 07bb12933c979aff3f7c6aef4449385f755f345f49ee8d6af648b7bdbfcc0012

Contents?: true

Size: 1.11 KB

Versions: 19

Compression:

Stored size: 1.11 KB

Contents

:javascript
  $('.nav.nav-pills li.active').removeClass('active');
  $('.nav.nav-pills li[data-model="#{@abstract_model.to_param}"]').addClass('active');
  $(window).off('keydown');

- # Integration of the thecore_settings gem, if not available, it rescues to the normal naming
%title= "#{(@abstract_model.try(:pretty_name) || @page_name)} | #{Settings.app_name rescue ([_get_plugin_name[0] || 'Rails', _get_plugin_name[1] || 'Admin'].join(' '))}"
.page-header
  %h1= @page_name
- flash && flash.each do |key, value|
  .alert.alert-dismissible{class: flash_alert_class(key)}
    %button.close{type: 'button', :'data-dismiss' => "alert"} ×
    = value
- # if it's and abstract model, then is not a root model for sure (like the dashboard)
- # these actions (root ones) are the actions listed at the same level as the dashboard (not related to a model)
- if @abstract_model
  = breadcrumb
  .well.well-sm
    %ul.nav.nav-pills#action-menu
      = content_for :search_form
      = content_for :action_links
      = content_for :contextual_tabs

  .well.well-sm
    = yield
- else
  = yield

%script
  $('.dropdown-toggle').dropdown()

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
thecore_ui_rails_admin-2.6.0 app/views/layouts.old/rails_admin/pjax.html.haml
thecore_ui_rails_admin-2.5.10 app/views/layouts.old/rails_admin/pjax.html.haml
thecore_ui_rails_admin-2.5.9 app/views/layouts.old/rails_admin/pjax.html.haml
thecore_ui_rails_admin-2.5.8 app/views/layouts.old/rails_admin/pjax.html.haml
thecore_ui_rails_admin-2.5.7 app/views/layouts.old/rails_admin/pjax.html.haml
thecore_ui_rails_admin-2.5.6 app/views/layouts.old/rails_admin/pjax.html.haml
thecore_ui_rails_admin-2.5.5 app/views/layouts.old/rails_admin/pjax.html.haml
thecore_ui_rails_admin-2.5.4 app/views/layouts.old/rails_admin/pjax.html.haml
thecore_ui_rails_admin-2.5.3 app/views/layouts.old/rails_admin/pjax.html.haml
thecore_ui_rails_admin-2.5.2 app/views/layouts.old/rails_admin/pjax.html.haml
thecore_ui_rails_admin-2.5.1 app/views/layouts.old/rails_admin/pjax.html.haml
thecore_ui_rails_admin-2.5.0 app/views/layouts.old/rails_admin/pjax.html.haml
thecore_ui_rails_admin-2.4.9 app/views/layouts.old/rails_admin/pjax.html.haml
thecore_ui_rails_admin-2.4.8 app/views/layouts.old/rails_admin/pjax.html.haml
thecore_ui_rails_admin-2.4.7 app/views/layouts.old/rails_admin/pjax.html.haml
thecore_ui_rails_admin-2.4.6 app/views/layouts.old/rails_admin/pjax.html.haml
thecore_ui_rails_admin-2.4.5 app/views/layouts.old/rails_admin/pjax.html.haml
thecore_ui_rails_admin-2.4.4 app/views/layouts.old/rails_admin/pjax.html.haml
thecore_ui_rails_admin-2.4.3 app/views/layouts.old/rails_admin/pjax.html.haml