diff --git a/app/views/admin/plugins.html.erb b/app/views/admin/plugins.html.erb index 3d88c90d0..c2d9f7b0d 100644 --- a/app/views/admin/plugins.html.erb +++ b/app/views/admin/plugins.html.erb @@ -3,6 +3,13 @@ <% if @plugins.any? %>
+ + + + + + + <% @plugins.each do |plugin| %> <% end %> +
<%= l(:field_name) %> / <%= l(:field_description) %><%= l(:field_author) %><%= l(:label_version) %>
<%= plugin.name %> @@ -14,6 +21,7 @@ <%= link_to(l(:button_configure), plugin_settings_path(plugin)) if plugin.configurable? %>

<%= l(:label_check_for_updates) %>

diff --git a/test/functional/admin_controller_test.rb b/test/functional/admin_controller_test.rb index 9cebf8ca7..d9b13bc5e 100644 --- a/test/functional/admin_controller_test.rb +++ b/test/functional/admin_controller_test.rb @@ -156,6 +156,10 @@ class AdminControllerTest < Redmine::ControllerTest get :plugins assert_response :success + assert_select 'th:nth-of-type(1)', :text => 'Name / Description' + assert_select 'th:nth-of-type(2)', :text => 'Author' + assert_select 'th:nth-of-type(3)', :text => 'Version' + assert_select 'tr#plugin-foo' do assert_select 'td span.name', :text => 'Foo plugin' assert_select 'td.configure a[href="/settings/plugin/foo"]'