Sha256: 54d6fe809d34c7ce9d1addcdbabcc10cc43255ad97a6e2dabb895e1fe7ff36fe

Contents?: true

Size: 1.13 KB

Versions: 3

Compression:

Stored size: 1.13 KB

Contents

.span3
  .well.sidebar-nav
    %ul.nav.nav-list
      %li.nav-header
        Settings
      - if Rails.configuration.cms_based_public_css == true
        - if can? :manage , Gluttonberg::Stylesheet
          %li= active_link_to("Stylesheets", admin_stylesheets_path , :title => "Stylesheets")
      - if can? :manage, Gluttonberg::Locale
        - if Gluttonberg.localized?
          %li= active_link_to("Locales", admin_locales_path , :id => "localesNav" , :title => "Locales")
      - if can? :manage , Gluttonberg::Embed
        %li= active_link_to("Embeds", admin_embeds_path , :title => "Embed")

      - if can? :manage, Gluttonberg::Setting
        %li= active_link_to("Configuration", admin_configurations_path , :id => "metadataNav"  , :title => "Configurations")

      - if can? :create, User
        %li= active_link_to("Users", admin_users_path, :id => "usersNav" , :title => "Users")
      - else
        %li= active_link_to("Edit Account", edit_admin_user_path(current_user.id) , :title => "Edit Account", :id => "usersNav")

      %li= active_link_to("History", admin_global_history_path() , :title => "History", :id => "historyNav")


Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
gluttonberg-core-3.0.2 app/views/gluttonberg/admin/settings/main/_sidebar.html.haml
gluttonberg-core-3.0.1 app/views/gluttonberg/admin/settings/main/_sidebar.html.haml
gluttonberg-core-3.0.0 app/views/gluttonberg/admin/settings/main/_sidebar.html.haml