comparison app/views/admin/plugins.html.erb @ 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
comparison
equal deleted inserted replaced
1297:0a574315af3e 1298:4f746d8966dd
1 <h2><%= l(:label_plugins) %></h2> 1 <h2><%= l(:label_plugins) %></h2>
2 2
3 <% if @plugins.any? %> 3 <% if @plugins.any? %>
4 <table class="list plugins"> 4 <table class="list plugins">
5 <% @plugins.each do |plugin| %> 5 <% @plugins.each do |plugin| %>
6 <tr class="<%= cycle('odd', 'even') %>"> 6 <tr id="plugin-<%= plugin.id %>" class="<%= cycle('odd', 'even') %>">
7 <td><span class="name"><%=h plugin.name %></span> 7 <td><span class="name"><%=h plugin.name %></span>
8 <%= content_tag('span', h(plugin.description), :class => 'description') unless plugin.description.blank? %> 8 <%= content_tag('span', h(plugin.description), :class => 'description') unless plugin.description.blank? %>
9 <%= content_tag('span', link_to(h(plugin.url), plugin.url), :class => 'url') unless plugin.url.blank? %> 9 <%= content_tag('span', link_to(h(plugin.url), plugin.url), :class => 'url') unless plugin.url.blank? %>
10 </td> 10 </td>
11 <td class="author"><%= plugin.author_url.blank? ? h(plugin.author) : link_to(h(plugin.author), plugin.author_url) %></td> 11 <td class="author"><%= plugin.author_url.blank? ? h(plugin.author) : link_to(h(plugin.author), plugin.author_url) %></td>
12 <td class="version"><%=h plugin.version %></td> 12 <td class="version"><%=h plugin.version %></td>
13 <td class="configure"><%= link_to(l(:button_configure), :controller => 'settings', :action => 'plugin', :id => plugin.id) if plugin.configurable? %></td> 13 <td class="configure"><%= link_to(l(:button_configure), plugin_settings_path(plugin)) if plugin.configurable? %></td>
14 </tr> 14 </tr>
15 <% end %> 15 <% end %>
16 </table> 16 </table>
17 <% else %> 17 <% else %>
18 <p class="nodata"><%= l(:label_no_data) %></p> 18 <p class="nodata"><%= l(:label_no_data) %></p>