[Rt-commit] r17978 - in rt/3.999/branches/merge_to_3.8.2: .

sunnavy at bestpractical.com sunnavy at bestpractical.com
Wed Jan 28 22:35:08 EST 2009


Author: sunnavy
Date: Wed Jan 28 22:35:07 2009
New Revision: 17978

Modified:
   rt/3.999/branches/merge_to_3.8.2/   (props changed)
   rt/3.999/branches/merge_to_3.8.2/share/html/Elements/MySupportQueues

Log:
 r19138 at sunnavys-mb:  sunnavy | 2009-01-29 10:28:55 +0800
 merged share/html/Elements/MySupportQueues


Modified: rt/3.999/branches/merge_to_3.8.2/share/html/Elements/MySupportQueues
==============================================================================
--- rt/3.999/branches/merge_to_3.8.2/share/html/Elements/MySupportQueues	(original)
+++ rt/3.999/branches/merge_to_3.8.2/share/html/Elements/MySupportQueues	Wed Jan 28 22:35:07 2009
@@ -49,6 +49,12 @@
 <& /Elements/QueueSummary,
    cache => 'my_support_queues',
    queue_filter => sub  { $_->is_watcher( role => 'admin_cc', principal_id => Jifty->web->current_user->id) },
-   conditions => [ {cond => "Status = 'new'",  name => _('new')  },
-		   {cond => "Status = 'open'", name => _('open') }] &>
+   conditions => \@conditions,
+&>
 </&>
+<%INIT>
+my @conditions = ();
+foreach ( RT::Model::Queue->active_status_array ) {
+    push @conditions, { cond => "Status = '$_'", name => _($_) };
+}
+</%INIT>


More information about the Rt-commit mailing list