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
This commit is contained in:
Toshi MARUYAMA 2011-05-13 03:52:56 +00:00
parent 57c5b4ea74
commit 4cbe231c8c
1 changed files with 5 additions and 1 deletions

View 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)