Show More
@@ -137,7 +137,7 b' class SettingsController(BaseController)' | |||
|
137 | 137 | hgsettings2.app_settings_value = form_result['rhodecode_realm'] |
|
138 | 138 | |
|
139 | 139 | hgsettings3 = settings_model.get('ga_code') |
|
140 | hgsettings3.app_settings_value = form_result['ga_code'] | |
|
140 | hgsettings3.app_settings_value = form_result['rhodecode_ga_code'] | |
|
141 | 141 | |
|
142 | 142 | |
|
143 | 143 |
@@ -17,7 +17,7 b' class BaseController(WSGIController):' | |||
|
17 | 17 | def __before__(self): |
|
18 | 18 | c.rhodecode_version = __version__ |
|
19 | 19 | c.rhodecode_name = config.get('rhodecode_title') |
|
20 |
c.ga_code = config.get('rhode |
|
|
20 | c.ga_code = config.get('rhodecode_ga_code') | |
|
21 | 21 | c.repo_name = get_repo_slug(request) |
|
22 | 22 | c.cached_repo_list = ScmModel().get_repos() |
|
23 | 23 | c.backends = BACKENDS.keys() |
@@ -438,7 +438,7 b' def ApplicationSettingsForm():' | |||
|
438 | 438 | filter_extra_fields = False |
|
439 | 439 | rhodecode_title = UnicodeString(strip=True, min=1, not_empty=True) |
|
440 | 440 | rhodecode_realm = UnicodeString(strip=True, min=1, not_empty=True) |
|
441 | ga_code = UnicodeString(strip=True, min=1, not_empty=False) | |
|
441 | rhodecode_ga_code = UnicodeString(strip=True, min=1, not_empty=False) | |
|
442 | 442 | |
|
443 | 443 | return _ApplicationSettingsForm |
|
444 | 444 |
General Comments 0
You need to be logged in to leave comments.
Login now