##// END OF EJS Templates
Fixed: error on admin/info if there's more than 1 plugin installed....
Jean-Philippe Lang -
r932:6e74a068082f
parent child
Show More
@@ -1,25 +1,25
1 <h2><%=l(:label_information_plural)%></h2>
1 <h2><%=l(:label_information_plural)%></h2>
2
2
3 <p><%=l(:field_version)%>: <strong><%= Redmine::Info.versioned_name %></strong> (<%= @db_adapter_name %>)</p>
3 <p><%=l(:field_version)%>: <strong><%= Redmine::Info.versioned_name %></strong> (<%= @db_adapter_name %>)</p>
4
4
5 <table class="list">
5 <table class="list">
6 <tr class="odd"><td>Default administrator account changed</td><td><%= image_tag (@flags[:default_admin_changed] ? 'true.png' : 'false.png'), :style => "vertical-align:bottom;" %></td></tr>
6 <tr class="odd"><td>Default administrator account changed</td><td><%= image_tag (@flags[:default_admin_changed] ? 'true.png' : 'false.png'), :style => "vertical-align:bottom;" %></td></tr>
7 <tr class="even"><td>File repository writable</td><td><%= image_tag (@flags[:file_repository_writable] ? 'true.png' : 'false.png'), :style => "vertical-align:bottom;" %></td></tr>
7 <tr class="even"><td>File repository writable</td><td><%= image_tag (@flags[:file_repository_writable] ? 'true.png' : 'false.png'), :style => "vertical-align:bottom;" %></td></tr>
8 <tr class="odd"><td>RMagick available</td><td><%= image_tag (@flags[:rmagick_available] ? 'true.png' : 'false.png'), :style => "vertical-align:bottom;" %></td></tr>
8 <tr class="odd"><td>RMagick available</td><td><%= image_tag (@flags[:rmagick_available] ? 'true.png' : 'false.png'), :style => "vertical-align:bottom;" %></td></tr>
9 </table>
9 </table>
10
10
11 <% if @plugins.any? %>
11 <% if @plugins.any? %>
12 &nbsp;
12 &nbsp;
13 <h3 class="icon22 icon22-plugin">Plugins</h3>
13 <h3 class="icon22 icon22-plugin">Plugins</h3>
14 <table class="list">
14 <table class="list">
15 <% @plugins.keys.sort.each do |plugin| %>
15 <% @plugins.keys.sort {|x,y| x.to_s <=> y.to_s}.each do |plugin| %>
16 <tr class="<%= cycle('odd', 'even') %>">
16 <tr class="<%= cycle('odd', 'even') %>">
17 <td><%=h @plugins[plugin].name %></td>
17 <td><%=h @plugins[plugin].name %></td>
18 <td><%=h @plugins[plugin].description %></td>
18 <td><%=h @plugins[plugin].description %></td>
19 <td><%=h @plugins[plugin].author %></td>
19 <td><%=h @plugins[plugin].author %></td>
20 <td><%=h @plugins[plugin].version %></td>
20 <td><%=h @plugins[plugin].version %></td>
21 <td><%= link_to('Configure', :controller => 'settings', :action => 'plugin', :id => plugin.to_s) if @plugins[plugin].configurable? %></td>
21 <td><%= link_to('Configure', :controller => 'settings', :action => 'plugin', :id => plugin.to_s) if @plugins[plugin].configurable? %></td>
22 </tr>
22 </tr>
23 <% end %>
23 <% end %>
24 </table>
24 </table>
25 <% end %>
25 <% end %>
General Comments 0
You need to be logged in to leave comments. Login now