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.rhtml @ 441:cbce1fd3b1b7
History | View | Annotate | Download (924 Bytes)
| 1 |
<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 |
<%= 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), :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 %>
|