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>
[%- 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 %]" />