]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 451758 - Highlight shared searches in userprefs.cgi
authorSunil Joshi <joshi_sunil@in.com>
Mon, 4 Nov 2013 23:34:24 +0000 (09:34 +1000)
committerSimon Green <sgreen@redhat.com>
Mon, 4 Nov 2013 23:34:24 +0000 (09:34 +1000)
r=glob, a=simon

skins/standard/global.css
template/en/default/account/prefs/saved-searches.html.tmpl

index 151391bd7b3de2730d9ab2c18ef1d5c7fc7a81df..d8d44ddf06d1c6e5d81ee0659c5e1c167757c77f 100644 (file)
@@ -575,4 +575,9 @@ form th {
 }
 th.left {
     text-align: left;
-}
\ No newline at end of file
+}
+
+tr.shared_search {
+    background-color: #fff7cd;
+    color: #000;
+}
index ddc2a945b5d37629fb3a7d71def8fc36d65a8eef..86df1e277df2b68e5cc60e226448262aa5dbc764 100644 (file)
@@ -83,7 +83,7 @@
       [% Hook.process('saved-row') %]
     </tr>
     [% FOREACH q = user.queries %]
-      <tr>
+      <tr [% 'class="shared_search"' IF q.shared_with_group.id %]>
         <td>[% q.name FILTER html %]</td>
         <td>
           <a href="buglist.cgi?cmdtype=dorem&amp;remaction=run&amp;namedcmd=[% q.name FILTER uri %]