Sha256: 70c3ba13240c56fae37dfc4a396a65c665ab5409324416ea011dad091d4745a6

Contents?: true

Size: 779 Bytes

Versions: 17

Compression:

Stored size: 779 Bytes

Contents

= breadcrumb
- charts_high = []
- charts_medium = []
- self.methods.each do |m|
  - charts_high << m if m.start_with? "charts_high_"
  - charts_medium << m if m.start_with? "charts_medium_"
  
- charts_high.in_groups_of(2, false).each_with_index do |group, i|
  .row
    - group.each do |item|
      .col-sm-6
        .box= self.send(item)
  
- charts_medium.in_groups_of(3, false).each_with_index do |group, i|
  .row
    - group.each do |item|
      .col-sm-4
        .box= self.send(item)

- if @abstract_models
  .row
    = render partial: 'rails_admin/main/dashboard_block'

- if @auditing_adapter && authorized?(:history_index)
  #block-tables.block
    .content
      %h2= t("admin.actions.history_index.menu")
      = render partial: 'rails_admin/main/dashboard_history'

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
thecore_ui_rails_admin-2.5.1 app/views/rails_admin.old/main/dashboard.html.haml
thecore_ui_rails_admin-2.5.0 app/views/rails_admin.old/main/dashboard.html.haml
thecore_ui_rails_admin-2.4.9 app/views/rails_admin.old/main/dashboard.html.haml
thecore_ui_rails_admin-2.4.8 app/views/rails_admin.old/main/dashboard.html.haml
thecore_ui_rails_admin-2.4.7 app/views/rails_admin.old/main/dashboard.html.haml
thecore_ui_rails_admin-2.4.6 app/views/rails_admin.old/main/dashboard.html.haml
thecore_ui_rails_admin-2.4.5 app/views/rails_admin.old/main/dashboard.html.haml
thecore_ui_rails_admin-2.4.4 app/views/rails_admin.old/main/dashboard.html.haml
thecore_ui_rails_admin-2.4.3 app/views/rails_admin.old/main/dashboard.html.haml
thecore_ui_rails_admin-2.4.2 app/views/rails_admin/main/dashboard.html.haml
thecore_ui_rails_admin-2.4.1 app/views/rails_admin/main/dashboard.html.haml
thecore_ui_rails_admin-2.4.0 app/views/rails_admin/main/dashboard.html.haml
thecore_ui_rails_admin-2.3.7 app/views/rails_admin/main/dashboard.html.haml
thecore_ui_rails_admin-2.3.6 app/views/rails_admin/main/dashboard.html.haml
thecore_ui_rails_admin-2.3.5 app/views/rails_admin/main/dashboard.html.haml
thecore_ui_rails_admin-2.3.4 app/views/rails_admin/main/dashboard.html.haml
thecore_ui_rails_admin-2.3.3 app/views/rails_admin/main/dashboard.html.haml