diff options
Diffstat (limited to 'app/views/admin/info.rhtml')
-rw-r--r-- | app/views/admin/info.rhtml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/app/views/admin/info.rhtml b/app/views/admin/info.rhtml index 59b1c3f26..d84d2ad32 100644 --- a/app/views/admin/info.rhtml +++ b/app/views/admin/info.rhtml @@ -7,3 +7,19 @@ <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> <tr class="odd"><td>RMagick available</td><td><%= image_tag (@flags[:rmagick_available] ? 'true.png' : 'false.png'), :style => "vertical-align:bottom;" %></td></tr> </table> + +<% if @plugins.any? %> + +<h3 class="icon22 icon22-plugin">Plugins</h3> +<table class="list"> + <% @plugins.keys.sort.each do |plugin| %> + <tr class="<%= cycle('odd', 'even') %>"> + <td><%=h @plugins[plugin].name %></td> + <td><%=h @plugins[plugin].description %></td> + <td><%=h @plugins[plugin].author %></td> + <td><%=h @plugins[plugin].version %></td> + <td><%= link_to('Configure', :controller => 'settings', :action => 'plugin', :id => plugin.to_s) if @plugins[plugin].configurable? %></td> + </tr> + <% end %> +</table> +<% end %> |