From: Toshi MARUYAMA Date: Fri, 13 May 2011 03:52:56 +0000 (+0000) Subject: scm: git: add check box of whether reporting last commit for files and directories... X-Git-Tag: 1.2.0~122 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=4cbe231c8c117b3af5ac3c24e8117e196a7ea55b;p=redmine.git 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 --- 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)