To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.
root / .svn / pristine / 43 / 4319c6d41e87c8e5f7a1d9a565f8d9f540e96297.svn-base @ 1298:4f746d8966dd
History | View | Annotate | Download (927 Bytes)
| 1 | 1295:622f24f53b42 | Chris | <h2><%= l(:label_plugins) %></h2> |
|---|---|---|---|
| 2 | |||
| 3 | <% if @plugins.any? %> |
||
| 4 | <table class="list plugins"> |
||
| 5 | <% @plugins.each do |plugin| %> |
||
| 6 | <tr id="plugin-<%= plugin.id %>" class="<%= cycle('odd', 'even') %>">
|
||
| 7 | <td><span class="name"><%=h plugin.name %></span> |
||
| 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? %>
|
||
| 10 | </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> |
||
| 13 | <td class="configure"><%= link_to(l(:button_configure), plugin_settings_path(plugin)) if plugin.configurable? %></td> |
||
| 14 | </tr> |
||
| 15 | <% end %> |
||
| 16 | </table> |
||
| 17 | <% else %> |
||
| 18 | <p class="nodata"><%= l(:label_no_data) %></p> |
||
| 19 | <% end %> |