Sha256: 691dc553db420c0062bf2fd02d7892bb89e7137afd54c277bb43205fd79321f4

Contents?: true

Size: 1.3 KB

Versions: 5

Compression:

Stored size: 1.3 KB

Contents

- content_for(:permanent_notice) do
  - unless current_account.robots_allowed?
    .permanent-notice.permanent-notice-info
      = icon('search')
      %p
        =t 'spina.pages.invisible_to_search_engines'
        %small=t 'spina.pages.invisible_to_search_engines_description'

- content_for :application do
  %header#header
    #header_actions
      = yield(:header_actions) if content_for?(:header_actions)

    .breadcrumbs= render_breadcrumbs separator: '<div class="divider"></div>'

    %nav#secondary.tabs
      %ul
        %li{class: ('active' if controller_name == 'posts' and action_name == 'index')}
          = link_to t('spina.blog.posts.all_posts'), spina.admin_conferences_blog_posts_path
        %li{class: ('active' if controller_name == 'posts' and action_name == 'live')}
          = link_to t('spina.blog.posts.live_posts'), spina.live_admin_conferences_blog_posts_path
        %li{class: ('active' if controller_name == 'posts' and action_name == 'draft')}
          = link_to t('spina.blog.posts.draft_posts'), spina.draft_admin_conferences_blog_posts_path
        %li{class: ('active' if controller_name == 'posts' and action_name == 'future')}
          = link_to t('spina.blog.posts.scheduled_posts'), spina.future_admin_conferences_blog_posts_path

  = yield

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
spina-admin-conferences-blog-0.1.4 app/views/layouts/spina/admin/conferences/blog/blog.html.haml
spina-admin-conferences-blog-0.1.3 app/views/layouts/spina/admin/conferences/blog/blog.html.haml
spina-admin-conferences-blog-0.1.2 app/views/layouts/spina/admin/conferences/blog/blog.html.haml
spina-admin-conferences-blog-0.1.1 app/views/layouts/spina/admin/conferences/blog/blog.html.haml
spina-admin-conferences-blog-0.1.0 app/views/layouts/spina/admin/conferences/blog/blog.html.haml