Commit fcba0d55f483248022ca6c85faf33c5b4202dd9a

Authored by Izaak Alpert
1 parent 51e6095d

Defaulted theme to MARS

Change-Id: I02814fb47edcc915309183547cc8dcb165100f4f
config/gitlab.yml.example
@@ -48,7 +48,7 @@ production: &base @@ -48,7 +48,7 @@ production: &base
48 ## MODERN = 3 48 ## MODERN = 3
49 ## GRAY = 4 49 ## GRAY = 4
50 ## COLOR = 5 50 ## COLOR = 5
51 - # default_theme: 1 # default: 1 51 + # default_theme: 2 # default: 2
52 52
53 53
54 ## Users management 54 ## Users management
config/initializers/1_settings.rb
@@ -52,7 +52,7 @@ Settings['issues_tracker'] ||= {} @@ -52,7 +52,7 @@ Settings['issues_tracker'] ||= {}
52 Settings['gitlab'] ||= Settingslogic.new({}) 52 Settings['gitlab'] ||= Settingslogic.new({})
53 Settings.gitlab['default_projects_limit'] ||= 10 53 Settings.gitlab['default_projects_limit'] ||= 10
54 Settings.gitlab['default_can_create_group'] = true if Settings.gitlab['default_can_create_group'].nil? 54 Settings.gitlab['default_can_create_group'] = true if Settings.gitlab['default_can_create_group'].nil?
55 -Settings.gitlab['default_theme'] = Gitlab::Theme::BASIC if Settings.gitlab['default_theme'].nil? 55 +Settings.gitlab['default_theme'] = Gitlab::Theme::MARS if Settings.gitlab['default_theme'].nil?
56 Settings.gitlab['host'] ||= 'localhost' 56 Settings.gitlab['host'] ||= 'localhost'
57 Settings.gitlab['https'] = false if Settings.gitlab['https'].nil? 57 Settings.gitlab['https'] = false if Settings.gitlab['https'].nil?
58 Settings.gitlab['port'] ||= Settings.gitlab.https ? 443 : 80 58 Settings.gitlab['port'] ||= Settings.gitlab.https ? 443 : 80