Sha256: 70b914736fdb661893c0654f28625b60d6b05f2842c60781081aa095f26c5b4b

Contents?: true

Size: 638 Bytes

Versions: 50

Compression:

Stored size: 638 Bytes

Contents

= link_to navigation_menus_path(menu_id: model), class: (model.active? ? 'summary' : 'summary summary--inactive') do
  %span.summary__name= model.name
  .summary__info-container
    %span.summary__info
      - if model.active?
        #{local_time_ago(model.updated_at)}
      - else
        %span.summary__info-text-inactive= t('workarea.admin.navigation_menus.summary.inactive')
    %span.summary__info= t('workarea.admin.navigation_menus.summary.content_block', count: model.content.try(:blocks).size)
  %span.summary__type{ title: t('workarea.admin.navigation_menus.summary.type') }= t('workarea.admin.navigation_menus.summary.type')

Version data entries

50 entries across 50 versions & 1 rubygems

Version Path
workarea-admin-3.5.0.beta.1 app/views/workarea/admin/navigation_menus/_summary.html.haml
workarea-admin-3.4.20 app/views/workarea/admin/navigation_menus/_summary.html.haml
workarea-admin-3.4.19 app/views/workarea/admin/navigation_menus/_summary.html.haml
workarea-admin-3.4.18 app/views/workarea/admin/navigation_menus/_summary.html.haml
workarea-admin-3.4.17 app/views/workarea/admin/navigation_menus/_summary.html.haml
workarea-admin-3.4.16 app/views/workarea/admin/navigation_menus/_summary.html.haml
workarea-admin-3.4.15 app/views/workarea/admin/navigation_menus/_summary.html.haml
workarea-admin-3.4.14 app/views/workarea/admin/navigation_menus/_summary.html.haml
workarea-admin-3.4.13 app/views/workarea/admin/navigation_menus/_summary.html.haml
workarea-admin-3.4.12 app/views/workarea/admin/navigation_menus/_summary.html.haml