diff options
author | Mark Wells <mark@freeside.biz> | 2016-06-11 12:24:29 -0700 |
---|---|---|
committer | Mark Wells <mark@freeside.biz> | 2016-06-11 23:22:31 -0700 |
commit | 89507319807e2f988bffa25981d4df927000f9eb (patch) | |
tree | 737a7820a6fc05f0414e7708c65db92621ad41f4 /rt/share/html/Elements | |
parent | 9456eceed9d729643d1bec05ed1b380bbd1bc8ab (diff) |
show unreplied marker in RT searches, #41670
Diffstat (limited to 'rt/share/html/Elements')
-rw-r--r-- | rt/share/html/Elements/CollectionAsTable/Row | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/rt/share/html/Elements/CollectionAsTable/Row b/rt/share/html/Elements/CollectionAsTable/Row index deaa312ba..4b2cfae43 100644 --- a/rt/share/html/Elements/CollectionAsTable/Row +++ b/rt/share/html/Elements/CollectionAsTable/Row @@ -57,6 +57,11 @@ $Class => 'RT__Ticket' $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" ); |