Sha256: ab1b5befc2a9e2b4bd3b182fad9e346d953f6cec43adb0198b1ebf0f091a6db1
Contents?: true
Size: 1.72 KB
Versions: 12
Compression:
Stored size: 1.72 KB
Contents
<% if Setting.any? %> <% if Fullstack::Cms.localized? %> <%= nav :class => "nav-pills" do %> <%= content_tag :li, :class => (:active if @locale.blank?) do %> <%= link_to t("fullstack.cms.commons", :default => "Commons"), request.path %> <% end %> <% I18n.available_locales.each do |locale| %> <%= content_tag :li, :class => (:active if @locale == locale.to_s) do %> <%= link_to t("locale_names.#{locale}", :default => "#{locale}".humanize), "?locale=#{locale}" %> <% end %> <% end %> <% end %> <% end %> <%= tabs :class => "tabs-left" do |t| %> <% @groups.each do |g,settings| %> <%= t.pane t(g, :scope => "fullstack.admin.groups", :default => g.to_s.humanize) do %> <table class="table table-striped table-bordered"> <% settings.each do |stg| %> <tr> <th style="width: 20%"> <%= link_to t(stg.key, :scope => "helpers.label", :default => stg.key.to_s.humanize), [:edit, :admin, stg] %> </th> <td style="width: 10%"> <%= locale ? t("locale_names.#{locale}", :default => "#{locale}".humanize) : "-" %> </td> <td> <% if stg.value %> <%= truncate stg.options[:markup] ? "#markup" : "#{stg.value}" %> <% else %> (<%= t('fullstack.cms.empty', :default => "Empty") %>) <% end %> </td> </tr> <% end %> </table> <% end %> <% end %> <% end %> <% end %>
Version data entries
12 entries across 12 versions & 1 rubygems