Sha256: c7eddf0e2fe85ce23a31fd98ece9b556830f9995ac7fb6840da16b9b618407be

Contents?: true

Size: 1 KB

Versions: 6

Compression:

Stored size: 1 KB

Contents

.span3
  .well.sidebar-nav
    %ul.nav.nav-list
      %li.nav-header
        Content
      %li
        = active_link_to("Pages", admin_pages_path, :title => "Pages", :class => "pages")
      - if Gluttonberg::Blog.table_exists?  
        %li
          = active_link_to("Blogs", admin_blogs_path, :title => "Blogs", :class => "blog")
      - if Rails.configuration.enable_gallery == true
        %li  
          = active_link_to("Photo Galleries", admin_galleries_path, :title => "Photo galleries", :class => "gallery")  
      - for entry in Gluttonberg::Components.nav_entries
        -if entry[3].blank? || entry[3]==false || (entry[3]==true && session.user.is_super_admin)
          %li
            = active_link_to(entry[0], url_for(entry[2]),  {:id => (entry[0].to_s.underscore).gsub(/\s/, '_') + "Nav" , :title => entry[0] } )
      - if Rails.configuration.flagged_content == true
        %li
          = active_link_to("Flagged Content", admin_flagged_contents_path, :id => "flaggedNav" , :title => "Flagged Content")

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
gluttonberg-core-2.5.5 app/views/gluttonberg/admin/content/main/_sidebar.html.haml
gluttonberg-core-2.5.4 app/views/gluttonberg/admin/content/main/_sidebar.html.haml
gluttonberg-core-2.5.3 app/views/gluttonberg/admin/content/main/_sidebar.html.haml
gluttonberg-core-2.5.2 app/views/gluttonberg/admin/content/main/_sidebar.html.haml
gluttonberg-core-2.5.1 app/views/gluttonberg/admin/content/main/_sidebar.html.haml
gluttonberg-core-2.5 app/views/gluttonberg/admin/content/main/_sidebar.html.haml