##// END OF EJS Templates
scm: git: add path encoding select box at setting (#5251)....
Toshi MARUYAMA -
r4944:15ebb4257905
parent child
Show More
@@ -219,10 +219,14 module RepositoriesHelper
219 end
219 end
220
220
221 def git_field_tags(form, repository)
221 def git_field_tags(form, repository)
222 content_tag('p', form.text_field(:url, :label => 'Path to repository',
222 content_tag('p', form.text_field(:url, :label => 'Path to repository',
223 :size => 60, :required => true,
223 :size => 60, :required => true,
224 :disabled => (repository && !repository.root_url.blank?)) +
224 :disabled => (repository && !repository.root_url.blank?)) +
225 '<br />a bare and local repository (e.g. /gitrepo, c:\gitrepo)')
225 '<br />a bare and local repository (e.g. /gitrepo, c:\gitrepo)') +
226 content_tag('p', form.select(
227 :path_encoding, [nil] + Setting::ENCODINGS,
228 :label => 'Path encoding') +
229 '<br />Default: UTF-8')
226 end
230 end
227
231
228 def cvs_field_tags(form, repository)
232 def cvs_field_tags(form, repository)
General Comments 0
You need to be logged in to leave comments. Login now