Bug 25856: Add suspend class to tr's of suspended holds
To test: 1. Apply patch. 2. Place multiple holds on a record and then go suspend some of them. 3. Those suspended holds should now have a class of 'suspended' 4. Now you can add any kind of CSS you want to make those rows stand out. You can try adding this to IntranetUSerCSS: .suspend > td { color: red; } Signed-off-by: Barbara Johnson <barbara.johnson@bedfordtx.gov> Signed-off-by: Nick Clemens <nick@bywatersolutions.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
e81e2c9ed5
commit
0a387bbd02
1 changed files with 6 additions and 2 deletions
|
@ -51,8 +51,12 @@
|
|||
[%- ELSE -%]
|
||||
[%- this_priority = loop.count() - found_holds -%]
|
||||
[%- END -%]
|
||||
<tr>
|
||||
<th><input type="checkbox" class="select_hold" data-id="[% hold.reserve_id | html %]"/></th>
|
||||
[% IF hold.suspend %]
|
||||
<tr class="suspend">
|
||||
[% ELSE %]
|
||||
<tr>
|
||||
[% END %]
|
||||
<td><input type="checkbox" class="select_hold" data-id="[% hold.reserve_id | html %]"/></td>
|
||||
<td>
|
||||
<input type="hidden" name="reserve_id" value="[% hold.reserve_id | html %]" />
|
||||
<input type="hidden" name="borrowernumber" value="[% hold.borrowernumber | html %]" />
|
||||
|
|
Loading…
Reference in a new issue