summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Baptiste Barth <jeanbaptiste.barth@gmail.com>2011-06-13 20:33:26 +0000
committerJean-Baptiste Barth <jeanbaptiste.barth@gmail.com>2011-06-13 20:33:26 +0000
commit22de20fe61e8879b1aa069406dd0f3bd63ba407c (patch)
tree4fe2c1fd2aa9e02b17dec14fab5a8c1467d46e33
parentffe7aef0eada0a1e36ed0fc874a236af52cf98c1 (diff)
downloadredmine-22de20fe61e8879b1aa069406dd0f3bd63ba407c.tar.gz
redmine-22de20fe61e8879b1aa069406dd0f3bd63ba407c.zip
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
-rw-r--r--app/views/settings/_repositories.rhtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/settings/_repositories.rhtml b/app/views/settings/_repositories.rhtml
index b3c252f16..d5da7c16b 100644
--- a/app/views/settings/_repositories.rhtml
+++ b/app/views/settings/_repositories.rhtml
@@ -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>