diff options
Diffstat (limited to 'httemplate')
-rw-r--r-- | httemplate/elements/freeside-menu.css | 10 | ||||
-rw-r--r-- | httemplate/elements/freeside.css | 2 | ||||
-rw-r--r-- | httemplate/elements/notify-tickets.html | 9 | ||||
-rw-r--r-- | httemplate/elements/table-tickets.html | 11 |
4 files changed, 23 insertions, 9 deletions
diff --git a/httemplate/elements/freeside-menu.css b/httemplate/elements/freeside-menu.css index a66ebc0..365b9d4 100644 --- a/httemplate/elements/freeside-menu.css +++ b/httemplate/elements/freeside-menu.css @@ -142,3 +142,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 7bf374c..fb5e7d9 100644 --- a/httemplate/elements/freeside.css +++ b/httemplate/elements/freeside.css @@ -341,3 +341,5 @@ div.package-marker-change_from { border-left: solid #bbffbb 30px; display: inline-block; } + + diff --git a/httemplate/elements/notify-tickets.html b/httemplate/elements/notify-tickets.html index faf998e..e661737 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 d722c9d..b322a5f 100644 --- a/httemplate/elements/table-tickets.html +++ b/httemplate/elements/table-tickets.html @@ -14,6 +14,7 @@ View <THEAD> <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> @@ -42,6 +43,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> |