diff options
author | Mark Wells <mark@freeside.biz> | 2016-06-11 12:24:59 -0700 |
---|---|---|
committer | Mark Wells <mark@freeside.biz> | 2016-06-13 13:27:12 -0700 |
commit | 9ff504a21d361a27997e94e74908ab663a57f207 (patch) | |
tree | 40bd0961e7d4920c98faeabbbbf3fa5e9882ce0d /httemplate/elements | |
parent | a6f303fd9f14570f6d1654a175dbeadf00f4bd18 (diff) |
show unreplied ticket marker in customer ticket lists, #41670
Diffstat (limited to 'httemplate/elements')
-rw-r--r-- | httemplate/elements/freeside-menu.css | 10 | ||||
-rw-r--r-- | httemplate/elements/freeside.css | 1 | ||||
-rw-r--r-- | httemplate/elements/notify-tickets.html | 9 | ||||
-rw-r--r-- | httemplate/elements/table-tickets.html | 11 |
4 files changed, 21 insertions, 10 deletions
diff --git a/httemplate/elements/freeside-menu.css b/httemplate/elements/freeside-menu.css index 9533f1950..a72a28bfe 100644 --- a/httemplate/elements/freeside-menu.css +++ b/httemplate/elements/freeside-menu.css @@ -146,3 +146,13 @@ a:visited:hover.fsdarkbutton { overflow:visible; } + +/* elements/notify-tickets.html is in the menu area */ +.dot { + border-radius: 50%; + border: 1px solid black; + width: 1ex; + height: 1ex; + display: inline-block; + margin-top: 0.3ex; +} diff --git a/httemplate/elements/freeside.css b/httemplate/elements/freeside.css index f6d73c2de..8ad724a4f 100644 --- a/httemplate/elements/freeside.css +++ b/httemplate/elements/freeside.css @@ -313,4 +313,3 @@ td.label { color: #ff0000; } - diff --git a/httemplate/elements/notify-tickets.html b/httemplate/elements/notify-tickets.html index faf998e2b..e661737bc 100644 --- a/httemplate/elements/notify-tickets.html +++ b/httemplate/elements/notify-tickets.html @@ -1,13 +1,4 @@ % if ($enabled) { -<style> -.dot { - border-radius: 50%; - border: 1px solid black; - width: 1ex; - height: 1ex; - display: inline-block; -} -</style> <div style="font-weight: bold; vertical-align: bottom; text-align: left"> % if ( $UnrepliedTickets->Count > 0 ) { <a href="<% $fsurl %>rt/Search/UnrepliedTickets.html"> diff --git a/httemplate/elements/table-tickets.html b/httemplate/elements/table-tickets.html index f89f98422..bc02c7c4b 100644 --- a/httemplate/elements/table-tickets.html +++ b/httemplate/elements/table-tickets.html @@ -11,6 +11,7 @@ View % my $bgcolor = ''; <TR> + <TH CLASS="grid" BGCOLOR="#cccccc"></TH> <TH CLASS="grid" BGCOLOR="#cccccc"><% mt('#') |h %></TH> <TH CLASS="grid" BGCOLOR="#cccccc"><% mt('Subject') |h %></TH> <TH CLASS="grid" BGCOLOR="#cccccc"><% mt('Status') |h %></TH> @@ -38,6 +39,16 @@ View <TR> <TD CLASS="grid" BGCOLOR="<% $bgcolor %>"> +% if ( $ticket->{is_unreplied} ) { + <A CLASS="dot" STYLE="background-color: green" HREF=<%$href%>> +% } else { +% # placeholder + <A CLASS="dot" STYLE="visibility: hidden" HREF=<%$href%>> +% } + </A> + </TD> + + <TD CLASS="grid" BGCOLOR="<% $bgcolor %>"> <A HREF=<%$href%>><% $ticket->{id} %></A> </TD> |