]> source.dussan.org Git - redmine.git/commitdiff
scm: git: add check box of whether reporting last commit for files and directories...
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Fri, 13 May 2011 03:52:56 +0000 (03:52 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Fri, 13 May 2011 03:52:56 +0000 (03:52 +0000)
Browsing repository tree performance problem is git only.
So, adding new "report_last_commit" column is very expensive.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5771 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/helpers/repositories_helper.rb

index 883abd8e636f7dc7df5419ac5da1194d0c41e4e1..d7c33aa18c1c772e0184d95af53bfb1261c49bca 100644 (file)
@@ -232,7 +232,11 @@ module RepositoriesHelper
                         :path_encoding, [nil] + Setting::ENCODINGS,
                         :label => l(:field_scm_path_encoding)
                         ) +
-                     '<br />' + l(:text_scm_path_encoding_note))
+                     '<br />' + l(:text_scm_path_encoding_note)) +
+    content_tag('p', form.check_box(
+                        :extra_report_last_commit,
+                        :label    => 'Report last commit for files and directories'
+                         ))
   end
 
   def cvs_field_tags(form, repository)