Sha256: 9ae2a2cfefc90a0f9716af71d0566f7149fe14227c6c0535bd072c1b7daf8ef2

Contents?: true

Size: 830 Bytes

Versions: 12

Compression:

Stored size: 830 Bytes

Contents

- content_for :secondary_navigation do
  %nav#secondary
    %h1= Spina::Inquiry.model_name.human(count: 2)

    %ul
      %li{class: ('active' if ["inbox", "inbox_show"].include? action_name )}
        = link_to spina.inbox_admin_inquiries_path, data: {icon: 'b'} do
          - if @new_messages.present?
            = "#{t('spina.inquiries.inbox')} (#{@new_messages.size})"
          - else
            = t('spina.inquiries.inbox')
          %small= t('spina.inquiries.inbox_description')
          
      %li{class: ('active' if ["index", "spam", "show"].include? action_name )}
        = link_to spina.admin_inquiries_path, data: {icon: 'z'} do
          = t('spina.inquiries.all')
          %small= t('spina.inquiries.all_description')

- content_for :content do
  = yield

= render template: "layouts/spina/admin/application"

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
spina-0.6.24 app/views/layouts/spina/admin/messages.html.haml
spina-0.6.23 app/views/layouts/spina/admin/messages.html.haml
spina-0.6.22 app/views/layouts/spina/admin/messages.html.haml
spina-0.6.21 app/views/layouts/spina/admin/messages.html.haml
spina-0.6.20 app/views/layouts/spina/admin/messages.html.haml
spina-0.6.19 app/views/layouts/spina/admin/messages.html.haml
spina-0.6.18 app/views/layouts/spina/admin/messages.html.haml
spina-0.6.17 app/views/layouts/spina/admin/messages.html.haml
spina-0.6.16 app/views/layouts/spina/admin/messages.html.haml
spina-0.6.15 app/views/layouts/spina/admin/messages.html.haml
spina-0.6.14 app/views/layouts/spina/admin/messages.html.haml
spina-0.6.13 app/views/layouts/spina/admin/messages.html.haml