fix the show of manager web
This commit is contained in:
parent
cca2e6c0fa
commit
da74c97b7d
|
@ -1,6 +1,6 @@
|
||||||
<h3><%=l(:label_administration)%></h3>
|
|
||||||
<div id="admin-index">
|
<div id="admin-index">
|
||||||
<%= render :partial => 'no_data' if @no_configuration_data %>
|
<h3><%=l(:label_administration)%></h3>
|
||||||
|
<!-- <%= render :partial => 'no_data' if @no_configuration_data %> -->
|
||||||
<%= render :partial => 'menu' %>
|
<%= render :partial => 'menu' %>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -296,6 +296,7 @@ Redmine::MenuManager.map :admin_menu do |menu|
|
||||||
:html => {:class => 'server_authentication'}
|
:html => {:class => 'server_authentication'}
|
||||||
menu.push :plugins, {:controller => 'admin', :action => 'plugins'}, :last => true
|
menu.push :plugins, {:controller => 'admin', :action => 'plugins'}, :last => true
|
||||||
menu.push :info, {:controller => 'admin', :action => 'info'}, :caption => :label_information_plural, :last => true
|
menu.push :info, {:controller => 'admin', :action => 'info'}, :caption => :label_information_plural, :last => true
|
||||||
|
|
||||||
end
|
end
|
||||||
#Modified by young
|
#Modified by young
|
||||||
Redmine::MenuManager.map :project_menu do |menu|
|
Redmine::MenuManager.map :project_menu do |menu|
|
||||||
|
|
|
@ -1,21 +1,21 @@
|
||||||
module Redmine
|
module Redmine
|
||||||
module Info
|
module Info
|
||||||
class << self
|
class << self
|
||||||
def app_name; 'Redmine' end
|
def app_name; 'Trustie' end
|
||||||
def url; 'http://www.redmine.org/' end
|
def url; 'http://forge.trustie.net/' end
|
||||||
def help_url; 'http://www.redmine.org/guide' end
|
def help_url; 'http://forge.trustie.net/forums' end
|
||||||
def versioned_name; "#{app_name} #{Redmine::VERSION}" end
|
def versioned_name; "#{app_name} #{Redmine::VERSION}" end
|
||||||
|
|
||||||
def environment
|
def environment
|
||||||
s = "Environment:\n"
|
s = "Environment:\n"
|
||||||
s << [
|
s << [
|
||||||
["Redmine version", Redmine::VERSION],
|
["Trustie version", Redmine::VERSION],
|
||||||
["Ruby version", "#{RUBY_VERSION} (#{RUBY_PLATFORM})"],
|
["Ruby version", "#{RUBY_VERSION} (#{RUBY_PLATFORM})"],
|
||||||
["Rails version", Rails::VERSION::STRING],
|
["Rails version", Rails::VERSION::STRING],
|
||||||
["Environment", Rails.env],
|
["Environment", Rails.env],
|
||||||
["Database adapter", ActiveRecord::Base.connection.adapter_name]
|
["Database adapter", ActiveRecord::Base.connection.adapter_name]
|
||||||
].map {|info| " %-40s %s" % info}.join("\n")
|
].map {|info| " %-40s %s" % info}.join("\n")
|
||||||
s << "\nRedmine plugins:\n"
|
s << "\nTrustie plugins:\n"
|
||||||
|
|
||||||
plugins = Redmine::Plugin.all
|
plugins = Redmine::Plugin.all
|
||||||
if plugins.any?
|
if plugins.any?
|
||||||
|
|
|
@ -2,9 +2,9 @@ require 'rexml/document'
|
||||||
|
|
||||||
module Redmine
|
module Redmine
|
||||||
module VERSION #:nodoc:
|
module VERSION #:nodoc:
|
||||||
MAJOR = 2
|
MAJOR = 1
|
||||||
MINOR = 3
|
MINOR = 0
|
||||||
TINY = 1
|
TINY = 0
|
||||||
|
|
||||||
# Branch values:
|
# Branch values:
|
||||||
# * official release: nil
|
# * official release: nil
|
||||||
|
|
|
@ -2672,3 +2672,7 @@ div.repos_explain{
|
||||||
padding: 6px 10px;
|
padding: 6px 10px;
|
||||||
font-family: Consolas, 'Liberation Mono', Courier, monospace;
|
font-family: Consolas, 'Liberation Mono', Courier, monospace;
|
||||||
color: rgb(51, 51, 51);
|
color: rgb(51, 51, 51);
|
||||||
|
}
|
||||||
|
#admin-index{
|
||||||
|
margin-left: -220px;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue