diff --git a/app/views/admin_panel/index.rhtml b/app/views/admin_panel/index.rhtml index f5641dc..a471236 100644 --- a/app/views/admin_panel/index.rhtml +++ b/app/views/admin_panel/index.rhtml @@ -1,21 +1,41 @@

<%= _('Administrator Panel') %>

-

<%= _('You, as an environment administrator, has the following options:')%>

+

<%= _('System settings') %>

- - - - - - - - - - - - - <% @plugins.dispatch(:admin_panel_links).each do |link| %> + + + + + +
<%= link_to _('Edit environment settings'), :action => 'site_info' %>
<%= link_to __('Edit message for disabled enterprises'), :action => 'message_for_disabled_enterprise' %>
<%= link_to _('Enable/disable features'), :controller => 'features' %>
<%= link_to _('Enable/disable plugins'), :controller => 'plugins' %>
<%= link_to _('Edit sideboxes'), :controller => 'environment_design'%>
<%= link_to _('Manage Categories'), :controller => 'categories'%>
<%= link_to _('Manage User roles'), :controller => 'role' %>
<%= link_to _('Manage users'), :controller => 'users' %>
<%= link_to _('Manage Validators by region'), :controller => 'region_validators' %>
<%= link_to _('Edit Templates'), :action => 'edit_templates' %>
<%= link_to _('Manage Fields'), :controller => 'features', :action => 'manage_fields' %>
<%= link_to _('Set Portal'), :action => 'set_portal_community' %>
<%= link_to _('Environment settings'), :action => 'site_info' %>
<%= link_to _('Features'), :controller => 'features' %>
<%= link_to _('Plugins'), :controller => 'plugins' %>
<%= link_to _('Sideboxes'), :controller => 'environment_design'%>
<%= link_to _('Homepage'), :action => 'set_portal_community' %>
+ +

<%= _('Profiles') %>

+ + + + + + +
<%= link_to _('User roles'), :controller => 'role' %>
<%= link_to _('Users'), :controller => 'users' %>
<%= link_to _('Profile templates'), :action => 'edit_templates' %>
<%= link_to _('Fields'), :controller => 'features', :action => 'manage_fields' %>
+ + +<% + plugin_links = @plugins.dispatch(:admin_panel_links) +%> +<% unless plugin_links.empty? %> +

<%= _('Plugins') %>

+ + <% plugin_links.each do |link| %> <% end %> +
<%= link_to link[:title], link[:url] %>
+<% end %> + +

<%= _('Enterprise-related settings') %>

+ +
+ + +
<%= link_to __('Message for disabled enterprises'), :action => 'message_for_disabled_enterprise' %>
<%= link_to _('Validators by region'), :controller => 'region_validators' %>
<%= link_to _('Categories'), :controller => 'categories'%>
-- libgit2 0.21.2