2013-07-28 15:50:18 +04:00
|
|
|
<%= title l(:label_plugins) %>
|
2008-11-16 14:58:41 +03:00
|
|
|
|
|
|
|
<% if @plugins.any? %>
|
2008-11-16 20:12:02 +03:00
|
|
|
<table class="list plugins">
|
2008-11-16 18:22:48 +03:00
|
|
|
<% @plugins.each do |plugin| %>
|
2012-12-13 17:52:56 +04:00
|
|
|
<tr id="plugin-<%= plugin.id %>" class="<%= cycle('odd', 'even') %>">
|
2008-11-16 20:12:02 +03:00
|
|
|
<td><span class="name"><%=h plugin.name %></span>
|
|
|
|
<%= content_tag('span', h(plugin.description), :class => 'description') unless plugin.description.blank? %>
|
2011-09-17 17:15:43 +04:00
|
|
|
<%= content_tag('span', link_to(h(plugin.url), plugin.url), :class => 'url') unless plugin.url.blank? %>
|
|
|
|
</td>
|
2008-11-16 20:12:02 +03:00
|
|
|
<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>
|
2012-12-13 17:52:56 +04:00
|
|
|
<td class="configure"><%= link_to(l(:button_configure), plugin_settings_path(plugin)) if plugin.configurable? %></td>
|
2008-11-16 14:58:41 +03:00
|
|
|
</tr>
|
|
|
|
<% end %>
|
|
|
|
</table>
|
|
|
|
<% else %>
|
|
|
|
<p class="nodata"><%= l(:label_no_data) %></p>
|
|
|
|
<% end %>
|