[Rt-commit] rt branch, 3.8-trunk, updated. rt-3.8.7-166-g368c34c
sartak at bestpractical.com
sartak at bestpractical.com
Mon Feb 22 16:06:25 EST 2010
The branch, 3.8-trunk has been updated
via 368c34c56093f34630d7671bee5c53db9285c2c4 (commit)
from 9fab3b5288bdb8d0aaa0cef844240f0ffa6d6c32 (commit)
Summary of changes:
share/html/Elements/CollectionAsTable/Row | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
- Log -----------------------------------------------------------------
commit 368c34c56093f34630d7671bee5c53db9285c2c4
Author: Shawn M Moore <sartak at bestpractical.com>
Date: Mon Feb 22 15:55:40 2010 -0500
Allow adding extra CSS classes in CollectionAsTable/Row
diff --git a/share/html/Elements/CollectionAsTable/Row b/share/html/Elements/CollectionAsTable/Row
index fa7474b..407fb4a 100644
--- a/share/html/Elements/CollectionAsTable/Row
+++ b/share/html/Elements/CollectionAsTable/Row
@@ -54,9 +54,10 @@ $Depth => undef
$Warning => undef
$ColumnMap => {}
$Class => 'RT__Ticket'
+$classes => ''
</%ARGS>
<%init>
-$m->out( '<tr class="'
+$m->out( '<tr class="' . $classes . ' '
. ( $Warning ? 'warnline' : $i % 2 ? 'oddline' : 'evenline' ) . '" >'
. "\n" );
use HTML::Entities;
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list