Add 'how to enable' information on SDG configuration tab when related sdg feature setting is disabled.
10 lines
294 B
Plaintext
10 lines
294 B
Plaintext
<% if feature?(:sdg) %>
|
|
<h2><%= t("admin.settings.index.sdg.title") %></h2>
|
|
|
|
<%= render "featured_settings_table", features: @sdg_settings, tab: "#tab-sdg-configuration" %>
|
|
<% else %>
|
|
<div class="callout primary">
|
|
<%= t("admin.settings.index.sdg.how_to_enable") %>
|
|
</div>
|
|
<% end %>
|