|
Lines 32-38
Link Here
|
| 32 |
item_msg = item_num.join(", "); |
32 |
item_msg = item_num.join(", "); |
| 33 |
var msg = _("Are you sure you want to remove card number(s): %s from this batch?").format(item_msg); |
33 |
var msg = _("Are you sure you want to remove card number(s): %s from this batch?").format(item_msg); |
| 34 |
} else if (document.items.action.checked) { |
34 |
} else if (document.items.action.checked) { |
| 35 |
alert(_("Deletion of item from a batch with only one item will delete the batch.\n\nIf this is what you want, select 'Delete batch' option from toolbar")); |
35 |
alert(_("Deletion of patron from a batch with only one patron will delete the batch.") + "\n\n" + _("If this is what you want, select the 'Delete batch' option from the toolbar")); |
| 36 |
return; // no deletion for single item batch |
36 |
return; // no deletion for single item batch |
| 37 |
} |
37 |
} |
| 38 |
else { |
38 |
else { |
|
Lines 179-185
Link Here
|
| 179 |
|
179 |
|
| 180 |
[% IF ( duplicate_message ) %] |
180 |
[% IF ( duplicate_message ) %] |
| 181 |
<div class="dialog message"> |
181 |
<div class="dialog message"> |
| 182 |
<strong>[% duplicate_count %] duplicate item(s) found</strong> and removed from batch [% batch_id %]. |
182 |
<strong>[% duplicate_count %] duplicate patron(s) found</strong> and removed from batch [% batch_id %]. |
| 183 |
</div> |
183 |
</div> |
| 184 |
[% END %] |
184 |
[% END %] |
| 185 |
|
185 |
|
|
Lines 256-263
Link Here
|
| 256 |
<fieldset class="rows" style="border-bottom: 0px; border: 0px;"> |
256 |
<fieldset class="rows" style="border-bottom: 0px; border: 0px;"> |
| 257 |
<ol><li> |
257 |
<ol><li> |
| 258 |
<div class="dialog message"> |
258 |
<div class="dialog message"> |
| 259 |
<h4>There are no items in this batch yet</h4> |
259 |
<h4>There are no patrons in this batch yet</h4> |
| 260 |
<p>Add items by borrowernumber using the text area above or leave empty to add via patron search.</p> |
260 |
<p>Add patrons by borrowernumber using the text area above or leave empty to add via patron search.</p> |
| 261 |
</div> |
261 |
</div> |
| 262 |
</li></ol> |
262 |
</li></ol> |
| 263 |
</fieldset> |
263 |
</fieldset> |
| 264 |
- |
|
|