Defaulted theme to MARS

Change-Id: I02814fb47edcc915309183547cc8dcb165100f4f
This commit is contained in:
Izaak Alpert 2013-09-22 01:06:22 -04:00
parent 51e6095dd1
commit fcba0d55f4
2 changed files with 2 additions and 2 deletions

View file

@ -48,7 +48,7 @@ production: &base
## MODERN = 3
## GRAY = 4
## COLOR = 5
# default_theme: 1 # default: 1
# default_theme: 2 # default: 2
## Users management

View file

@ -52,7 +52,7 @@ Settings['issues_tracker'] ||= {}
Settings['gitlab'] ||= Settingslogic.new({})
Settings.gitlab['default_projects_limit'] ||= 10
Settings.gitlab['default_can_create_group'] = true if Settings.gitlab['default_can_create_group'].nil?
Settings.gitlab['default_theme'] = Gitlab::Theme::BASIC if Settings.gitlab['default_theme'].nil?
Settings.gitlab['default_theme'] = Gitlab::Theme::MARS if Settings.gitlab['default_theme'].nil?
Settings.gitlab['host'] ||= 'localhost'
Settings.gitlab['https'] = false if Settings.gitlab['https'].nil?
Settings.gitlab['port'] ||= Settings.gitlab.https ? 443 : 80