##// END OF EJS Templates
feat(svn): re-enable manual generation of SVN config that was removed when we moved svn path config to .ini files...
super-admin -
r5394:41153181 default
parent child Browse files
Show More
@@ -115,8 +115,8 b' class AdminSettingsView(BaseAppView):'
115 c.svn_tag_patterns = model.get_global_svn_tag_patterns()
115 c.svn_tag_patterns = model.get_global_svn_tag_patterns()
116
116
117 settings = self.request.registry.settings
117 settings = self.request.registry.settings
118 c.svn_proxy_generate_config = settings[generate_config]
118 c.svn_generate_config = settings[generate_config]
119
119 c.svn_config_path = rhodecode.ConfigGet().get_str('svn.proxy.config_file_path')
120 defaults = self._form_defaults()
120 defaults = self._form_defaults()
121
121
122 model.create_largeobjects_dirs_if_needed(defaults['paths_root_path'])
122 model.create_largeobjects_dirs_if_needed(defaults['paths_root_path'])
@@ -144,8 +144,8 b' class AdminSettingsView(BaseAppView):'
144 c.svn_tag_patterns = model.get_global_svn_tag_patterns()
144 c.svn_tag_patterns = model.get_global_svn_tag_patterns()
145
145
146 settings = self.request.registry.settings
146 settings = self.request.registry.settings
147 c.svn_proxy_generate_config = settings[generate_config]
147 c.svn_generate_config = settings[generate_config]
148
148 c.svn_config_path = rhodecode.ConfigGet().get_str('svn.proxy.config_file_path')
149 application_form = ApplicationUiSettingsForm(self.request.translate)()
149 application_form = ApplicationUiSettingsForm(self.request.translate)()
150
150
151 try:
151 try:
@@ -150,6 +150,23 b''
150 <div class="panel-body">
150 <div class="panel-body">
151 <div class="field">
151 <div class="field">
152 <div class="content" >
152 <div class="content" >
153 <label>${_('mod_dav config')}</label><br/>
154 <code>path: ${c.svn_config_path}</code>
155 </div>
156 <br/>
157
158 <div>
159
160 % if c.svn_generate_config:
161 <span class="buttons">
162 <button class="btn btn-primary" id="vcs_svn_generate_cfg">${_('Re-generate Apache Config')}</button>
163 </span>
164 % endif
165 </div>
166 </div>
167
168 <div class="field">
169 <div class="content" >
153 <label>${_('Repository patterns')}</label><br/>
170 <label>${_('Repository patterns')}</label><br/>
154 </div>
171 </div>
155 </div>
172 </div>
General Comments 0
You need to be logged in to leave comments. Login now