@@ -207,9 +207,11 module RepositoriesHelper | |||
|
207 | 207 | end |
|
208 | 208 | |
|
209 | 209 | def mercurial_field_tags(form, repository) |
|
210 |
content_tag('p', form.text_field( |
|
|
210 | content_tag('p', form.text_field( | |
|
211 | :url, :label => 'Path to repository', | |
|
211 | 212 | :size => 60, :required => true, |
|
212 |
:disabled => (repository && !repository.root_url.blank?) |
|
|
213 | :disabled => (repository && !repository.root_url.blank?) | |
|
214 | ) + | |
|
213 | 215 |
|
|
214 | 216 | content_tag('p', form.select( |
|
215 | 217 | :path_encoding, [nil] + Setting::ENCODINGS, |
@@ -27,7 +27,7 class Repository::Mercurial < Repository | |||
|
27 | 27 | FETCH_AT_ONCE = 100 # number of changesets to fetch at once |
|
28 | 28 | |
|
29 | 29 | ATTRIBUTE_KEY_NAMES = { |
|
30 |
"url" => " |
|
|
30 | "url" => "Path to repository", | |
|
31 | 31 | } |
|
32 | 32 | def self.human_attribute_name(attribute_key_name) |
|
33 | 33 | ATTRIBUTE_KEY_NAMES[attribute_key_name] || super |
General Comments 0
You need to be logged in to leave comments.
Login now