Commit fcba0d55 authored by Izaak Alpert's avatar Izaak Alpert

Defaulted theme to MARS

Change-Id: I02814fb47edcc915309183547cc8dcb165100f4f
parent 51e6095d
No related merge requests found
...@@ -48,7 +48,7 @@ production: &base ...@@ -48,7 +48,7 @@ production: &base
## MODERN = 3 ## MODERN = 3
## GRAY = 4 ## GRAY = 4
## COLOR = 5 ## COLOR = 5
# default_theme: 1 # default: 1 # default_theme: 2 # default: 2
## Users management ## Users management
......
...@@ -52,7 +52,7 @@ Settings['issues_tracker'] ||= {} ...@@ -52,7 +52,7 @@ Settings['issues_tracker'] ||= {}
Settings['gitlab'] ||= Settingslogic.new({}) Settings['gitlab'] ||= Settingslogic.new({})
Settings.gitlab['default_projects_limit'] ||= 10 Settings.gitlab['default_projects_limit'] ||= 10
Settings.gitlab['default_can_create_group'] = true if Settings.gitlab['default_can_create_group'].nil? 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['host'] ||= 'localhost'
Settings.gitlab['https'] = false if Settings.gitlab['https'].nil? Settings.gitlab['https'] = false if Settings.gitlab['https'].nil?
Settings.gitlab['port'] ||= Settings.gitlab.https ? 443 : 80 Settings.gitlab['port'] ||= Settings.gitlab.https ? 443 : 80
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment