Commit d0a7dc2a2a24d9c004c348db5e9f2c2d2194d978
1 parent
d1bdbb86
Exists in
master
and in
22 other branches
ActionItem1003: enhancement in "manage fields"
Showing
3 changed files
with
5 additions
and
2 deletions
Show diff stats
app/views/features/_manage_community_fields.rhtml
1 | -<h2><%= _('Manage community fields') %></h2> | 1 | +<h2><%= __('Manage community fields') %></h2> |
2 | 2 | ||
3 | <% labelled_form_for(:environment, @environment, :url => {:action => 'manage_community_fields'}) do |f| %> | 3 | <% labelled_form_for(:environment, @environment, :url => {:action => 'manage_community_fields'}) do |f| %> |
4 | 4 |
app/views/features/manage_fields.rhtml
1 | <%= render :partial => 'manage_person_fields' %> | 1 | <%= render :partial => 'manage_person_fields' %> |
2 | 2 | ||
3 | -<%= render :partial => 'manage_enterprise_fields' %> | 3 | +<% if environment.enabled?('disable_asset_enterprises') %> |
4 | + <%= render :partial => 'manage_enterprise_fields' %> | ||
5 | +<% end %> | ||
4 | 6 | ||
5 | <%= render :partial => 'manage_community_fields' %> | 7 | <%= render :partial => 'manage_community_fields' %> |
lib/zen3_terminology.rb
@@ -63,6 +63,7 @@ class Zen3Terminology < Noosfero::Terminology::Custom | @@ -63,6 +63,7 @@ class Zen3Terminology < Noosfero::Terminology::Custom | ||
63 | 'Activate your enterprise' => N_('Activate your organization'), | 63 | 'Activate your enterprise' => N_('Activate your organization'), |
64 | 'Enterprise activation code' => N_('Organization activation code'), | 64 | 'Enterprise activation code' => N_('Organization activation code'), |
65 | 'Disable activation of enterprises' => N_('Disable activation of organizations'), | 65 | 'Disable activation of enterprises' => N_('Disable activation of organizations'), |
66 | + 'Manage community fields' => N_('Manage group fields'), | ||
66 | }) | 67 | }) |
67 | end | 68 | end |
68 | 69 |