To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.
root / app / views / admin / plugins.html.erb @ 912:5e80956cc792
History | View | Annotate | Download (934 Bytes)
| 1 | 0:513646585e45 | Chris | <h2><%= l(:label_plugins) %></h2> |
|---|---|---|---|
| 2 | |||
| 3 | <% if @plugins.any? %>
|
||
| 4 | <table class="list plugins"> |
||
| 5 | <% @plugins.each do |plugin| %>
|
||
| 6 | <tr 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 | 909:cbb26bc654de | Chris | <%= content_tag('span', link_to(h(plugin.url), plugin.url), :class => 'url') unless plugin.url.blank? %>
|
| 10 | </td>
|
||
| 11 | 0:513646585e45 | Chris | <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), :controller => 'settings', :action => 'plugin', :id => plugin.id) if plugin.configurable? %></td> |
||
| 14 | </tr>
|
||
| 15 | <% end %>
|
||
| 16 | </table>
|
||
| 17 | <% else %>
|
||
| 18 | <p class="nodata"><%= l(:label_no_data) %></p> |
||
| 19 | <% end %> |