Sha256: 09d7b55d7012a75469cca670e2c8d64caccbbf299ff9e1c1038d1ca7c66a04c8

Contents?: true

Size: 859 Bytes

Versions: 11

Compression:

Stored size: 859 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 do
          = icon('mail-outline')
          - 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 do
          = icon('inbox-outline')
          = t('spina.inquiries.all')
          %small= t('spina.inquiries.all_description')

- content_for :content do
  = yield

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

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
spina-0.8.3 app/views/layouts/spina/admin/messages.html.haml
spina-0.8.2 app/views/layouts/spina/admin/messages.html.haml
spina-0.8.1 app/views/layouts/spina/admin/messages.html.haml
spina-0.8.0 app/views/layouts/spina/admin/messages.html.haml
spina-0.7.3 app/views/layouts/spina/admin/messages.html.haml
spina-0.7.2 app/views/layouts/spina/admin/messages.html.haml
spina-0.7.0 app/views/layouts/spina/admin/messages.html.haml
spina-0.6.29 app/views/layouts/spina/admin/messages.html.haml
spina-0.6.28 app/views/layouts/spina/admin/messages.html.haml
spina-0.6.27 app/views/layouts/spina/admin/messages.html.haml
spina-0.6.26 app/views/layouts/spina/admin/messages.html.haml