1 |
1 |
<%= title l(:label_plugins) %>
|
2 |
2 |
|
3 |
3 |
<% if @plugins.any? %>
|
4 |
|
<table class="list plugins">
|
5 |
|
<% @plugins.each do |plugin| %>
|
6 |
|
<tr id="plugin-<%= plugin.id %>">
|
7 |
|
<td class="name"><span class="name"><%= plugin.name %></span>
|
8 |
|
<%= content_tag('span', plugin.description, :class => 'description') unless plugin.description.blank? %>
|
9 |
|
<%= content_tag('span', link_to(plugin.url, plugin.url), :class => 'url') unless plugin.url.blank? %>
|
10 |
|
</td>
|
11 |
|
<td class="author"><%= plugin.author_url.blank? ? plugin.author : link_to(plugin.author, plugin.author_url) %></td>
|
12 |
|
<td class="version"><span class="icon"><%= plugin.version %></span></td>
|
13 |
|
<td class="configure"><%= link_to(l(:button_configure), plugin_settings_path(plugin)) if plugin.configurable? %></td>
|
14 |
|
</tr>
|
15 |
|
<% end %>
|
16 |
|
</table>
|
|
4 |
<div class="autoscroll">
|
|
5 |
<table class="list plugins">
|
|
6 |
<% @plugins.each do |plugin| %>
|
|
7 |
<tr id="plugin-<%= plugin.id %>">
|
|
8 |
<td class="name"><span class="name"><%= plugin.name %></span>
|
|
9 |
<%= content_tag('span', plugin.description, :class => 'description') unless plugin.description.blank? %>
|
|
10 |
<%= content_tag('span', link_to(plugin.url, plugin.url), :class => 'url') unless plugin.url.blank? %>
|
|
11 |
</td>
|
|
12 |
<td class="author"><%= plugin.author_url.blank? ? plugin.author : link_to(plugin.author, plugin.author_url) %></td>
|
|
13 |
<td class="version"><span class="icon"><%= plugin.version %></span></td>
|
|
14 |
<td class="configure"><%= link_to(l(:button_configure), plugin_settings_path(plugin)) if plugin.configurable? %></td>
|
|
15 |
</tr>
|
|
16 |
<% end %>
|
|
17 |
</table>
|
|
18 |
</div>
|
17 |
19 |
<p><a href="#" id="check-for-updates"><%= l(:label_check_for_updates) %></a></p>
|
18 |
20 |
<% else %>
|
19 |
21 |
<p class="nodata"><%= l(:label_no_data) %></p>
|