Sha256: 2efe64780f471d262afe134f7e70b685f929d2b195d92cc4273c801dd9d8b0c4

Contents?: true

Size: 857 Bytes

Versions: 3

Compression:

Stored size: 857 Bytes

Contents

- @window_title = "Settings"
- @page_title = "Configuration"

- @has_deletable_settings = Gluttonberg::Setting.has_deletable_settings?
.row-fluid
  = render :partial => "/gluttonberg/admin/settings/main/sidebar"
  .span9
    .row-fluid
      .page-header
        %h1
          = @page_title.html_safe
      .subnav
        = sub_nav do
          - if can? :create_or_destroy, Gluttonberg::Setting
            = nav_link('Add New Setting', new_admin_configuration_path)

      
      - if @multisite
        - Rails.configuration.multisite.each do |key, val|
          %h2
            #{val} Configuration
  
          = render :partial => "settings_table", :locals => {:settings => @site_wise_settings[key]}
      

        %h2
          Global Configuration
          
      = render :partial => "settings_table", :locals => {:settings => @cms_settings}


Version data entries

3 entries across 3 versions & 1 rubygems

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