Commit d0a7dc2a2a24d9c004c348db5e9f2c2d2194d978

Authored by Antonio Terceiro
1 parent d1bdbb86

ActionItem1003: enhancement in "manage fields"

app/views/features/_manage_community_fields.rhtml
1   -<h2><%= _('Manage community fields') %></h2>
  1 +<h2><%= __('Manage community fields') %></h2>
2 2  
3 3 <% labelled_form_for(:environment, @environment, :url => {:action => 'manage_community_fields'}) do |f| %>
4 4  
... ...
app/views/features/manage_fields.rhtml
1 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 7 <%= render :partial => 'manage_community_fields' %>
... ...
lib/zen3_terminology.rb
... ... @@ -63,6 +63,7 @@ class Zen3Terminology &lt; Noosfero::Terminology::Custom
63 63 'Activate your enterprise' => N_('Activate your organization'),
64 64 'Enterprise activation code' => N_('Organization activation code'),
65 65 'Disable activation of enterprises' => N_('Disable activation of organizations'),
  66 + 'Manage community fields' => N_('Manage group fields'),
66 67 })
67 68 end
68 69  
... ...