Adds environment information display to /admin/info.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9603 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2012-05-01 14:49:53 +00:00
parent 017d974dd8
commit 785825900a
1 changed files with 5 additions and 1 deletions

View File

@ -1,6 +1,6 @@
<h2><%=l(:label_information_plural)%></h2> <h2><%=l(:label_information_plural)%></h2>
<p><strong><%= Redmine::Info.versioned_name %></strong> (<%= @db_adapter_name %>)</p> <p><strong><%= Redmine::Info.versioned_name %></strong></p>
<table class="list"> <table class="list">
<% @checklist.each do |label, result| %> <% @checklist.each do |label, result| %>
@ -11,5 +11,9 @@
</tr> </tr>
<% end %> <% end %>
</table> </table>
<br />
<div class="box">
<pre><%= Redmine::Info.environment %></pre>
</div>
<% html_title(l(:label_information_plural)) -%> <% html_title(l(:label_information_plural)) -%>