add_i18n_to_plugins_view.patch

Juanje Ojeda Croissier, 2010-11-17 17:42

Download (930 Bytes)

View differences:

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 l(plugin.name) %></span>
8
            <%= content_tag('span', h(l(plugin.description)), :class => 'description') unless plugin.description.blank? %>
9 9
						<%= content_tag('span', link_to(h(plugin.url), plugin.url), :class => 'url') unless plugin.url.blank? %>
10 10
				</td>
11 11
        <td class="author"><%= plugin.author_url.blank? ? h(plugin.author) : link_to(h(plugin.author), plugin.author_url) %></td>