]> source.dussan.org Git - redmine.git/commitdiff
Do not show inactive time entry activities in repository settings (#8573).
authorJean-Baptiste Barth <jeanbaptiste.barth@gmail.com>
Mon, 13 Jun 2011 20:33:26 +0000 (20:33 +0000)
committerJean-Baptiste Barth <jeanbaptiste.barth@gmail.com>
Mon, 13 Jun 2011 20:33:26 +0000 (20:33 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6072 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/settings/_repositories.rhtml

index b3c252f1680a401c811a673f9c67ba35f2420072..d5da7c16b0a64b5aa6bfef502fb459c0a457d2a4 100644 (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>