]> source.dussan.org Git - redmine.git/commitdiff
scm: filesystem: add path encoding select item (#2274).
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Thu, 24 Feb 2011 05:59:42 +0000 (05:59 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Thu, 24 Feb 2011 05:59:42 +0000 (05:59 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4943 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/helpers/repositories_helper.rb

index 2ecdf9f834e24ee719d4da1d08831315e8539ecd..d314c90c956fcf31f2de7ac8e3c6ebe72bf3acd2 100644 (file)
@@ -222,5 +222,7 @@ module RepositoriesHelper
     content_tag('p', form.text_field(:url, :label => 'Root directory',
                      :size => 60, :required => true,
                      :disabled => (repository && !repository.root_url.blank?)))
+    content_tag('p', form.select(:path_encoding, [nil] + Setting::ENCODINGS,
+                                 :label => 'Path encoding'))
   end
 end