diff --git a/rhodecode/apps/admin/views/settings.py b/rhodecode/apps/admin/views/settings.py --- a/rhodecode/apps/admin/views/settings.py +++ b/rhodecode/apps/admin/views/settings.py @@ -115,8 +115,8 @@ class AdminSettingsView(BaseAppView): c.svn_tag_patterns = model.get_global_svn_tag_patterns() settings = self.request.registry.settings - c.svn_proxy_generate_config = settings[generate_config] - + c.svn_generate_config = settings[generate_config] + c.svn_config_path = rhodecode.ConfigGet().get_str('svn.proxy.config_file_path') defaults = self._form_defaults() model.create_largeobjects_dirs_if_needed(defaults['paths_root_path']) @@ -144,8 +144,8 @@ class AdminSettingsView(BaseAppView): c.svn_tag_patterns = model.get_global_svn_tag_patterns() settings = self.request.registry.settings - c.svn_proxy_generate_config = settings[generate_config] - + c.svn_generate_config = settings[generate_config] + c.svn_config_path = rhodecode.ConfigGet().get_str('svn.proxy.config_file_path') application_form = ApplicationUiSettingsForm(self.request.translate)() try: diff --git a/rhodecode/templates/base/vcs_settings.mako b/rhodecode/templates/base/vcs_settings.mako --- a/rhodecode/templates/base/vcs_settings.mako +++ b/rhodecode/templates/base/vcs_settings.mako @@ -150,6 +150,23 @@
+
+ path: ${c.svn_config_path} +
+
+ +
+ + % if c.svn_generate_config: + + + + % endif +
+
+ +
+