From 4cbe231c8c117b3af5ac3c24e8117e196a7ea55b Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Fri, 13 May 2011 03:52:56 +0000 Subject: [PATCH] scm: git: add check box of whether reporting last commit for files and directories in project setting (#8365, #7047). 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 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/helpers/repositories_helper.rb b/app/helpers/repositories_helper.rb index 883abd8e6..d7c33aa18 100644 --- a/app/helpers/repositories_helper.rb +++ b/app/helpers/repositories_helper.rb @@ -232,7 +232,11 @@ module RepositoriesHelper :path_encoding, [nil] + Setting::ENCODINGS, :label => l(:field_scm_path_encoding) ) + - '
' + l(:text_scm_path_encoding_note)) + '
' + 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) -- 2.39.5