diff options
| author | Mark Wells <mark@freeside.biz> | 2016-06-11 12:24:29 -0700 |
|---|---|---|
| committer | Mark Wells <mark@freeside.biz> | 2016-06-11 12:24:29 -0700 |
| commit | f136b7059017863e2ff4819376c42fe5869b2042 (patch) | |
| tree | a9d583da0553cd844f93c5dab0ef8cb60ab4ba08 /rt/share/html | |
| parent | 603701ab0bbee8dd44b1a27cd7f527e8e8be8c6e (diff) | |
show unreplied marker in RT searches, #41670
Diffstat (limited to 'rt/share/html')
| -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" ); |
