summaryrefslogtreecommitdiffstats
path: root/app/views/admin/info.rhtml
blob: 4d442f5ad8ec64d19cf397ca42006608ef45c640 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<h2><%=l(:label_information_plural)%></h2>

<p><%=l(:field_version)%>: <strong><%= Redmine::Info.versioned_name %></strong> (<%= @db_adapter_name %>)</p>

<table class="list">
<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>
<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? %>
&nbsp;
<h3 class="icon22 icon22-plugin">Plugins</h3>
<table class="list">
    <% @plugins.keys.sort {|x,y| x.to_s <=> y.to_s}.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 %>

<% set_html_title(l(:label_information_plural)) -%>