projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
show unreplied marker in RT searches, #41670
[freeside.git]
/
rt
/
share
/
html
/
Elements
/
CollectionAsTable
/
Row
diff --git
a/rt/share/html/Elements/CollectionAsTable/Row
b/rt/share/html/Elements/CollectionAsTable/Row
index
deaa312
..
4b2cfae
100644
(file)
--- a/
rt/share/html/Elements/CollectionAsTable/Row
+++ b/
rt/share/html/Elements/CollectionAsTable/Row
@@
-57,6
+57,11
@@
$Class => 'RT__Ticket'
$Classes => ''
</%ARGS>
<%init>
$Classes => ''
</%ARGS>
<%init>
+# it's a hack, but it has to be applied in every ticket search regardless
+# of format, so...
+if ( $record and $record->isa('RT::Ticket') and $record->IsUnreplied ) {
+ $Classes .= ' unreplied-ticket';
+}
$m->out( '<tr class="' . $Classes . ' '
. ( $Warning ? 'warnline' : $i % 2 ? 'oddline' : 'evenline' ) . '" >'
. "\n" );
$m->out( '<tr class="' . $Classes . ' '
. ( $Warning ? 'warnline' : $i % 2 ? 'oddline' : 'evenline' ) . '" >'
. "\n" );