Tpac: style inactive holds w/ grey bground
authorBill Erickson <berick@esilibrary.com>
Thu, 18 Aug 2011 16:17:03 +0000 (12:17 -0400)
committerBill Erickson <berick@esilibrary.com>
Thu, 18 Aug 2011 16:17:58 +0000 (12:17 -0400)
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Open-ILS/src/templates/default/opac/myopac/holds.tt2
Open-ILS/web/css/skin/default/opac/style.css

index a835223..df5bd33 100644 (file)
                     PROCESS get_marc_attrs args=attrs;
                     ahr = hold.hold.hold %]
                 <tr id="acct_holds_temp" name="acct_holds_temp"
                     PROCESS get_marc_attrs args=attrs;
                     ahr = hold.hold.hold %]
                 <tr id="acct_holds_temp" name="acct_holds_temp"
-                    class="acct_holds_temp">
+                    class="acct_holds_temp[% ahr.frozen == 't' ? ' inactive-hold' : '' %]">
                     <td width="36" align="center" style="text-align:center;">
                         <input type="checkbox" name="hold_id" value="[% ahr.id %]" />
                     </td>
                     <td width="36" align="center" style="text-align:center;">
                         <input type="checkbox" name="hold_id" value="[% ahr.id %]" />
                     </td>
index b83cc69..67dc6be 100644 (file)
@@ -1027,3 +1027,4 @@ a.dash-link:hover { text-decoration: underline !important; }
 .cn_browse_item { padding: 2ex; }
 
 .results-paginator-selected { color: red; }
 .cn_browse_item { padding: 2ex; }
 
 .results-paginator-selected { color: red; }
+.inactive-hold { background: #e5e5e5; }