Patch #6926 » add_i18n_to_plugins_view_with_check.patch
app/views/admin/plugins.rhtml | ||
---|---|---|
4 | 4 |
<table class="list plugins"> |
5 | 5 |
<% @plugins.each do |plugin| %> |
6 | 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? %> |
|
7 |
<td><span class="name"><%=h plugin.name.is_a?(Symbol) ? l(plugin.name) : plugin.name %></span> |
|
8 |
<%= description = plugin.description.is_a?(Symbol) ? l(plugin.description) : plugin.description |
|
9 |
content_tag('span', h(description), :class => 'description') unless description.blank? %> |
|
9 | 10 |
<%= content_tag('span', link_to(h(plugin.url), plugin.url), :class => 'url') unless plugin.url.blank? %> |
10 | 11 |
</td> |
11 | 12 |
<td class="author"><%= plugin.author_url.blank? ? h(plugin.author) : link_to(h(plugin.author), plugin.author_url) %></td> |
- « Previous
- 1
- 2
- Next »