Mercurial > hg > soundsoftware-site
diff .svn/pristine/43/4319c6d41e87c8e5f7a1d9a565f8d9f540e96297.svn-base @ 1298:4f746d8966dd redmine_2.3_integration
Merge from redmine-2.3 branch to create new branch redmine-2.3-integration
author | Chris Cannam |
---|---|
date | Fri, 14 Jun 2013 09:28:30 +0100 |
parents | 622f24f53b42 |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/.svn/pristine/43/4319c6d41e87c8e5f7a1d9a565f8d9f540e96297.svn-base Fri Jun 14 09:28:30 2013 +0100 @@ -0,0 +1,19 @@ +<h2><%= l(:label_plugins) %></h2> + +<% if @plugins.any? %> +<table class="list plugins"> + <% @plugins.each do |plugin| %> + <tr id="plugin-<%= plugin.id %>" class="<%= cycle('odd', 'even') %>"> + <td><span class="name"><%=h plugin.name %></span> + <%= 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? %> + </td> + <td class="author"><%= plugin.author_url.blank? ? h(plugin.author) : link_to(h(plugin.author), plugin.author_url) %></td> + <td class="version"><%=h plugin.version %></td> + <td class="configure"><%= link_to(l(:button_configure), plugin_settings_path(plugin)) if plugin.configurable? %></td> + </tr> + <% end %> +</table> +<% else %> +<p class="nodata"><%= l(:label_no_data) %></p> +<% end %>