Sha256: ac3a4e45ce2f74551d186d97dff3caea08609c3a034fce52d566dc7ba7976058

Contents?: true

Size: 1.25 KB

Versions: 4

Compression:

Stored size: 1.25 KB

Contents

<%= render :partial => 'spree/admin/shared/configuration_menu' %>

<h1><%= t(:general_settings) %></h1>

<table data-hook="preferences">
  <% @preferences.each do |key| %>
  <tr>
    <th scope="row"><%= t(key) %>:</th>
    <td><%= Spree::Config[key] %></td>
  </tr>
  <% end %>
  <tr>
    <td colspan="2">
      <%= t(:dollar_amounts_displayed_as, :example => Spree::Money.new(20.99)) %>
    </td>
  </tr>

  <tr>
    <td colspan="2">
      <%= Spree::Config[:allow_ssl_in_production] ? t(:ssl_will_be_used_in_production_mode) : t(:ssl_will_not_be_used_in_production_mode) %>
    </td>
  </tr>
  <tr>
    <td colspan="2">
    <%= Spree::Config[:allow_ssl_in_staging] ? t(:ssl_will_be_used_in_staging_mode) : t(:ssl_will_not_be_used_in_staging_mode) %>
  </td>
  </tr>
  <tr>
    <td colspan="2">
      <%= Spree::Config[:allow_ssl_in_development_and_test] ? t(:ssl_will_be_used_in_development_and_test_modes) : t(:ssl_will_not_be_used_in_development_and_test_modes) %>
    </td>
  </tr>
  <tr>
    <td colspan="2">
      <%= (Spree::Config[:check_for_spree_alerts] ? t("spree_alert_checking") : t("spree_alert_not_checking")) %>
    </td>
  </tr>
</table>

<p><%= link_to_with_icon 'edit', t(:edit), edit_admin_general_settings_path, :id => 'admin_general_settings_link' %></p>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
spree_core-1.2.4 app/views/spree/admin/general_settings/show.html.erb
spree_core-1.2.3 app/views/spree/admin/general_settings/show.html.erb
spree_core-1.2.2 app/views/spree/admin/general_settings/show.html.erb
spree_core-1.2.0 app/views/spree/admin/general_settings/show.html.erb