Lines 1003-1010
Link Here
|
1003 |
[% INCLUDE 'csrf-token.inc' %] |
1003 |
[% INCLUDE 'csrf-token.inc' %] |
1004 |
<input type="hidden" name="op" value="cud-show" /> |
1004 |
<input type="hidden" name="op" value="cud-show" /> |
1005 |
[% # Preserve the whitespace of the following textarea in order to format the values correctly %] |
1005 |
[% # Preserve the whitespace of the following textarea in order to format the values correctly %] |
|
|
1006 |
[%- borrowernumbers = PROCESS batch_list results=results batch_type='borrowernumber' | trim | html -%] |
1007 |
[%- IF borrowernumbers -%] |
1008 |
[%- SET batch_borrowernumbers = 1 -%] |
1009 |
<textarea style="display:none;" name="borrowernumberlist" id="borrowernumberlist"> |
1010 |
[%- borrowernumbers | html -%] |
1011 |
</textarea> |
1012 |
[%- END -%] |
1006 |
[%- cardnumbers = PROCESS batch_list results=results batch_type='cardnumber' | trim | html %] |
1013 |
[%- cardnumbers = PROCESS batch_list results=results batch_type='cardnumber' | trim | html %] |
1007 |
[% IF cardnumbers %] |
1014 |
[% IF !batch_borrowernumbers && cardnumbers %] |
1008 |
[% SET batch_cardnumbers = cardnumbers.length %] |
1015 |
[% SET batch_cardnumbers = cardnumbers.length %] |
1009 |
[% FOR b IN cardnumbers.split("\n") %] |
1016 |
[% FOR b IN cardnumbers.split("\n") %] |
1010 |
<input type="hidden" name="cardnumber" value="[% b | uri %]" /> |
1017 |
<input type="hidden" name="cardnumber" value="[% b | uri %]" /> |
Lines 1067-1073
Link Here
|
1067 |
[% END %] |
1074 |
[% END %] |
1068 |
[% IF show_cardnumber_ops || show_borrowernumber_ops %] |
1075 |
[% IF show_cardnumber_ops || show_borrowernumber_ops %] |
1069 |
<li class="dropdown-header">Patron records</li> |
1076 |
<li class="dropdown-header">Patron records</li> |
1070 |
[% IF show_cardnumber_ops %] |
1077 |
[% IF show_cardnumber_ops || show_borrowernumber_ops %] |
1071 |
<li> |
1078 |
<li> |
1072 |
<a href="#" data-submit="batch_patron_modification" data-toggle="tooltip" data-placement="right" title="Send visible results to batch patron modification" class="batch_op send_to_patron_mod">Batch patron modification</a> |
1079 |
<a href="#" data-submit="batch_patron_modification" data-toggle="tooltip" data-placement="right" title="Send visible results to batch patron modification" class="batch_op send_to_patron_mod">Batch patron modification</a> |
1073 |
</li> |
1080 |
</li> |
1074 |
- |
|
|