diff --git a/app/views/plugins/index.rhtml b/app/views/plugins/index.rhtml index 4f26306..9123cca 100644 --- a/app/views/plugins/index.rhtml +++ b/app/views/plugins/index.rhtml @@ -1,23 +1,30 @@

<%= _('Manage plugins') %>

-<%= _('Here you can enable or disable any plugin of your environment.')%> + +

+<%= _('Select which plugins you want to enable in your environment') %> +

<% labelled_form_for(:environment, @environment, :url => {:action => 'update'}) do |f| %> - - - - - - - <%= hidden_field_tag('environment[enabled_plugins][]', '') %> - <% @active_plugins.each do |plugin| %> - - - - - - <% end %> -
<%= _('Plugin') %><%= _('Description') %><%= _('Enabled?') %>
<%= plugin.has_admin_url? ? link_to(plugin.plugin_name, plugin.admin_url) : plugin.plugin_name %><%= plugin.plugin_description %><%= check_box_tag "environment[enabled_plugins][]", plugin, @environment.enabled_plugins.include?(plugin.to_s), :id => plugin.plugin_name %>
+ + <% @active_plugins.sort_by(&:plugin_name).each do |plugin| %> + + + + + <% end %> +
<%= check_box_tag "environment[enabled_plugins][]", plugin, @environment.enabled_plugins.include?(plugin.to_s), :id => plugin.plugin_name %> + <%= hidden_field_tag('environment[enabled_plugins][]', '') %> + <%= plugin.plugin_name %> +
+ <%= plugin.plugin_description %> + <% if plugin.has_admin_url? %> +
+
+ <%= link_to(_('Configuration'), plugin.admin_url) %> + <% end %> +

+
<% button_bar do %> -- libgit2 0.21.2