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 48 ## MODERN = 3
49 49 ## GRAY = 4
50 50 ## COLOR = 5
51   - # default_theme: 1 # default: 1
  51 + # default_theme: 2 # default: 2
52 52  
53 53  
54 54 ## Users management
... ...
config/initializers/1_settings.rb
... ... @@ -52,7 +52,7 @@ Settings['issues_tracker'] ||= {}
52 52 Settings['gitlab'] ||= Settingslogic.new({})
53 53 Settings.gitlab['default_projects_limit'] ||= 10
54 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 56 Settings.gitlab['host'] ||= 'localhost'
57 57 Settings.gitlab['https'] = false if Settings.gitlab['https'].nil?
58 58 Settings.gitlab['port'] ||= Settings.gitlab.https ? 443 : 80
... ...