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:
parent
ffe7aef0ea
commit
22de20fe61
|
@ -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>
|
||||
|
||||
|
|
Loading…
Reference in New Issue