@@ -209,16 +209,16 module RepositoriesHelper | |||||
209 |
|
209 | |||
210 | def mercurial_field_tags(form, repository) |
|
210 | def mercurial_field_tags(form, repository) | |
211 | content_tag('p', form.text_field( |
|
211 | content_tag('p', form.text_field( | |
212 |
:url, :label => l( |
|
212 | :url, :label => l(:field_path_to_repository), | |
213 | :size => 60, :required => true, |
|
213 | :size => 60, :required => true, | |
214 | :disabled => (repository && !repository.root_url.blank?) |
|
214 | :disabled => (repository && !repository.root_url.blank?) | |
215 | ) + |
|
215 | ) + | |
216 |
'<br />' + l( |
|
216 | '<br />' + l(:text_mercurial_repository_note)) + | |
217 | content_tag('p', form.select( |
|
217 | content_tag('p', form.select( | |
218 | :path_encoding, [nil] + Setting::ENCODINGS, |
|
218 | :path_encoding, [nil] + Setting::ENCODINGS, | |
219 |
:label => l( |
|
219 | :label => l(:field_scm_path_encoding) | |
220 | ) + |
|
220 | ) + | |
221 |
'<br />' + l( |
|
221 | '<br />' + l(:text_scm_path_encoding_note)) | |
222 | end |
|
222 | end | |
223 |
|
223 | |||
224 | def git_field_tags(form, repository) |
|
224 | def git_field_tags(form, repository) |
General Comments 0
You need to be logged in to leave comments.
Login now