| <div class="sectionHeading">Properties</div> |
| <div class="sectionContent"> |
| <table cellpadding="0" cellspacing="0" border="0" class="sectionTable"> |
| <tr valign="top"> |
| <th scope="row" class="sectionTableHeading">Application Name</th> |
| <td align="left" class="sectionTableCell">ENV['EPFWIKI_APP_NAME']</td> |
| </tr> |
| <tr valign="top"> |
| <th scope="row" class="sectionTableHeading">Version</th> |
| <td align="left" class="sectionTableCell">$VERSION$</td> |
| </tr> |
| <tr valign="top"> |
| <th scope="row" class="sectionTableHeading">Buildid</th> |
| <td align="left" class="sectionTableCell">$BUILDID$</td> |
| </tr> |
| <tr valign="top"> |
| <th scope="row" class="sectionTableHeading">Rails Version</th> |
| <td align="left" class="sectionTableCell"><%= Rails::VERSION::STRING %></td> |
| </tr> |
| <tr valign="top"> |
| <th scope="row" class="sectionTableHeading">Database Schema Version</th> |
| <td align="left" class="sectionTableCell"><%= @database_schema.version %> |
| <% if @version %> |
| <%= image_tag("warning", :border => 0, :title => "", :align => 'middle' ) %> |
| <% if cadmin? %> |
| <%= start_form_tag :action => 'migrate' %><input type="submit" value="Migrate to version <%= @version %>"><%= end_form_tag %> |
| <% end %> |
| <% end %> |
| </td> |
| </tr> |
| |
| <% if admin? %> |
| <tr valign="top"> |
| <th scope="row" class="sectionTableHeading">Database Name</th> |
| <td align="left" class="sectionTableCell"><%= ActiveRecord::Base.configurations[RAILS_ENV]['database'] %></td> |
| </tr> |
| <tr valign="top"> |
| <th scope="row" class="sectionTableHeading">Database User</th> |
| <td align="left" class="sectionTableCell"><%= ActiveRecord::Base.configurations[RAILS_ENV]['username'] %></td> |
| </tr> |
| <tr valign="top"> |
| <th scope="row" class="sectionTableHeading">Environment</th> |
| <td align="left" class="sectionTableCell"><%= RAILS_ENV %></td> |
| </tr> |
| <tr valign="top"> |
| <th scope="row" class="sectionTableHeading">Search index updated on</th> |
| <td align="left" class="sectionTableCell"><%= @index_mtime.strftime("%I:%M %p %d-%b-%y") if @index_mtime %> |
| <% if cadmin? %> |
| <%= start_form_tag :action => 'run_indexer' %><input type="submit" value="Run indexer now!"><%= end_form_tag %> |
| <% end %> |
| </td> |
| </tr> |
| <% end %> |
| </table> |
| </div> |