-
<% if Skyline::Configuration.enable_pages %>
- <%= link_to t(:pages, :scope => [:navigation,:mainnavigation]), skyline_articles_path(:type => Skyline::Page), :class => (current_menu_item == :pages ? "active" : nil) %> <% end %> <% if (Skyline::Configuration.articles + Skyline::Configuration.content_classes).any? %>
- <%= link_to t(:content_library, :scope => [:navigation,:mainnavigation]), {:controller => "/skyline/content", :action => "index"}, :class => (current_menu_item == :content_library ? "active" : nil) %> <% end %>
- <%= link_to t(:media_library, :scope => [:navigation,:mainnavigation]), skyline_media_dirs_path, :class => (current_menu_item == :media_library ? "active" : nil) %> <% if current_user.allow?(:settings_update) || current_user.allow?(:user_show) %>
-
><%= t(:admin, :scope => [:navigation,:mainnavigation]) %>
-
<% if current_user.allow?(:settings_update) && Skyline::Content::Implementation.instance.has_settings? %>
- <%= link_to t(:settings, :scope => [:navigation,:mainnavigation]), skyline_settings_path %> <% end %> <% if current_user.allow?(:user_show) %>
- <%= link_to t(:users, :scope => [:navigation,:mainnavigation]), skyline_users_path %> <% end %> <% plugin_hook :admin_submenu %>
<% end %>