Sha256: 77df68d4fc6f7c03d53a5b153502cadb251d9b96709170473d2b33d9914b1ea5

Contents?: true

Size: 1.4 KB

Versions: 3

Compression:

Stored size: 1.4 KB

Contents

.row-fluid
  = render :partial => "mokio/common/notice"

  .box.gradient
    = box_title do
      %span= bt("dashboard")

.row-fluid
  - unless @loose_content.empty?
    = render :template => "mokio/dashboard/tbl_content", |
      locals: { collection: @loose_content, | 
                title_msg: bt('content_not_in_menu'), | 
                label_msg: bt("all_dashboard"), |
                more: @more_loose_content, |
                more_link: only_loose_contents_path }

  - unless @empty_menu.empty?
    = render :template => "mokio/dashboard/tbl_content", |
      locals: { collection: @empty_menu, | 
                title_msg: bt('menu_with_invisible'), | 
                label_msg: bt("all_dashboard"), | 
                more: @more_empty_menu, |
                more_link: only_loose_contents_path }

.row-fluid
  = render :template => "mokio/dashboard/tbl_content", |
    locals: { collection: @last_updated, | 
              title_msg: bt('last_updated_content'), | 
              label_msg: bt("last_updated"), | 
              more: @last_updated.any? ? @last_updated.first.updated_at.strftime("%d-%m-%Y") : "" }
  = render :template => "mokio/dashboard/tbl_content", |
    locals: { collection: @last_created, | 
              title_msg: bt('last_created_content'), | 
              label_msg: bt("last_created"), | 
              more: @last_created.any? ? @last_created.first.updated_at.strftime("%d-%m-%Y") : "" }

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
mokio-0.0.8 app/views/mokio_haml/dashboard/show.html.haml
mokio-0.0.6 app/views/mokio_haml/dashboard/show.html.haml
mokio-0.0.5 app/views/mokio_haml/dashboard/show.html.haml