From c31f498ba6a21fd3e5ce7b9ba2f3b3cdc1b2e05b Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Thu, 13 Dec 2012 13:52:56 +0000 Subject: Code cleanup: implement Plugin#to_param for generating routes. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10995 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/admin/plugins.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/views/admin') diff --git a/app/views/admin/plugins.html.erb b/app/views/admin/plugins.html.erb index f4e4d2b92..25716ff9e 100644 --- a/app/views/admin/plugins.html.erb +++ b/app/views/admin/plugins.html.erb @@ -3,14 +3,14 @@ <% if @plugins.any? %> <% @plugins.each do |plugin| %> - + - + <% end %>
<%=h plugin.name %> <%= content_tag('span', h(plugin.description), :class => 'description') unless plugin.description.blank? %> <%= content_tag('span', link_to(h(plugin.url), plugin.url), :class => 'url') unless plugin.url.blank? %> <%= plugin.author_url.blank? ? h(plugin.author) : link_to(h(plugin.author), plugin.author_url) %> <%=h plugin.version %><%= link_to(l(:button_configure), :controller => 'settings', :action => 'plugin', :id => plugin.id) if plugin.configurable? %><%= link_to(l(:button_configure), plugin_settings_path(plugin)) if plugin.configurable? %>
-- cgit v1.2.3