Sha256: f59c2a235dd99b3df0f694aa8bb939e2e54a2168749c8d83afaf798a2d1b226c

Contents?: true

Size: 699 Bytes

Versions: 2

Compression:

Stored size: 699 Bytes

Contents

- content_for :secondary_navigation do
  %nav#secondary
    %h1 Berichten

    %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?
            = "Inbox (#{@new_messages.size})"
          - else
            Inbox
          %small Binnenkomende berichten
          
      %li{class: ('active' if ["index", "spam", "show"].include? action_name )}
        = link_to spina.admin_inquiries_path, data: {icon: 'z'} do
          Alle berichten
          %small Alle berichten

- content_for :content do
  = yield

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
spina-0.6.12 app/views/layouts/spina/admin/messages.html.haml
spina-0.6.11 app/views/layouts/spina/admin/messages.html.haml