2008-11-16 14:58:41 +03:00
|
|
|
<h2><%= l(:label_plugins) %></h2>
|
|
|
|
|
|
|
|
<% 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| %>
|
2008-11-16 14:58:41 +03:00
|
|
|
<tr 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>
|
|
|
|
<td class="configure"><%= link_to(l(:button_configure), :controller => 'settings', :action => 'plugin', :id => plugin.id) 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 %>
|