Do not show inactive time entry activities in repository settings (#8573).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6072 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Baptiste Barth 2011-06-13 20:33:26 +00:00
parent ffe7aef0ea
commit 22de20fe61
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@
<p><%= setting_select :commit_logtime_activity_id,
[[l(:label_default), 0]] +
TimeEntryActivity.shared.all.collect{|activity| [activity.name, activity.id.to_s]},
TimeEntryActivity.shared.active.collect{|activity| [activity.name, activity.id.to_s]},
:disabled => !Setting.commit_logtime_enabled?%></p>
</fieldset>