Lines 268-274
Link Here
|
268 |
<td>[% item.index + 1 | html %]</td> |
268 |
<td>[% item.index + 1 | html %]</td> |
269 |
[% IF checkboxes_edit %] |
269 |
[% IF checkboxes_edit %] |
270 |
[% UNLESS can_be_edited%] |
270 |
[% UNLESS can_be_edited%] |
271 |
<td class="error">Cannot edit</td> |
271 |
<td class="error"> |
|
|
272 |
<i class="fa fa-times fa-lg" title="Cannot edit"></i> |
273 |
</td> |
272 |
[% ELSE %] |
274 |
[% ELSE %] |
273 |
<td> |
275 |
<td> |
274 |
<input type="checkbox" name="itemnumber" value="[% item.itemnumber | html %]" id="row[% item.itemnumber | html %]" checked="checked" data-is-onloan="[% item.is_checked_out | html %]" /> |
276 |
<input type="checkbox" name="itemnumber" value="[% item.itemnumber | html %]" id="row[% item.itemnumber | html %]" checked="checked" data-is-onloan="[% item.is_checked_out | html %]" /> |
Lines 276-282
Link Here
|
276 |
[% END %] |
278 |
[% END %] |
277 |
[% ELSIF checkboxes_delete %] |
279 |
[% ELSIF checkboxes_delete %] |
278 |
[% UNLESS can_be_edited %] |
280 |
[% UNLESS can_be_edited %] |
279 |
<td class="error">Cannot delete</td> |
281 |
<td class="error"> |
|
|
282 |
<i class="fa fa-times fa-lg" title="Cannot delete"></i> |
283 |
</td> |
280 |
[% ELSE %] |
284 |
[% ELSE %] |
281 |
[% IF item.safe_to_delete %] |
285 |
[% IF item.safe_to_delete %] |
282 |
<td><input type="checkbox" name="itemnumber" value="[% item.itemnumber | html %]" id="row[% item.itemnumber | html %]" checked="checked" /></td> |
286 |
<td><input type="checkbox" name="itemnumber" value="[% item.itemnumber | html %]" id="row[% item.itemnumber | html %]" checked="checked" /></td> |
Lines 293-299
Link Here
|
293 |
[% END %] |
297 |
[% END %] |
294 |
[% END %] |
298 |
[% END %] |
295 |
|
299 |
|
296 |
<td><input type="checkbox" name="itemnumber" value="[% item.itemnumber | html %]" id="row[% item.itemnumber | html %]" disabled="disabled" title="[% cannot_delete_reason | html %]"/></td> |
300 |
<td class="error"> |
|
|
301 |
<i class="fa fa-times fa-lg" title="[% cannot_delete_reason | html %]"></i> |
302 |
</td> |
297 |
[% END %] |
303 |
[% END %] |
298 |
|
304 |
|
299 |
[% END %] |
305 |
[% END %] |