|
Lines 159-165
Link Here
|
| 159 |
|
159 |
|
| 160 |
[% IF error == 'invalid_form' %] |
160 |
[% IF error == 'invalid_form' %] |
| 161 |
<div class="dialog alert"> |
161 |
<div class="dialog alert"> |
| 162 |
<h3>There was a problem with your form submission</h3> |
162 |
<h2>There was a problem with your form submission</h2> |
| 163 |
</div> |
163 |
</div> |
| 164 |
[% END %] |
164 |
[% END %] |
| 165 |
|
165 |
|
|
Lines 205-211
Link Here
|
| 205 |
|
205 |
|
| 206 |
[% IF error == 'invalid_form' %] |
206 |
[% IF error == 'invalid_form' %] |
| 207 |
<div class="dialog alert"> |
207 |
<div class="dialog alert"> |
| 208 |
<h3>There was a problem with your form submission</h3> |
208 |
<h2>There was a problem with your form submission</h2> |
| 209 |
</div> |
209 |
</div> |
| 210 |
[% END %] |
210 |
[% END %] |
| 211 |
|
211 |
|
|
Lines 229-235
Link Here
|
| 229 |
<div class="modal-content"> |
229 |
<div class="modal-content"> |
| 230 |
<div class="modal-header"> |
230 |
<div class="modal-header"> |
| 231 |
<button type="button" class="closebtn" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button> |
231 |
<button type="button" class="closebtn" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button> |
| 232 |
<h4 class="modal-title" id="addStageLabel">Add stage to <em>[% rota.title | html %]</em></h4> |
232 |
<h2 class="modal-title" id="addStageLabel">Add stage to <em>[% rota.title | html %]</em></h2> |
| 233 |
</div> |
233 |
</div> |
| 234 |
<div class="modal-body"> |
234 |
<div class="modal-body"> |
| 235 |
<fieldset class="rows"> |
235 |
<fieldset class="rows"> |
|
Lines 301-307
Link Here
|
| 301 |
[% ELSE %] |
301 |
[% ELSE %] |
| 302 |
|
302 |
|
| 303 |
<div class="dialog message"> |
303 |
<div class="dialog message"> |
| 304 |
<h4>This rota has no stages.</h4> |
304 |
<h2>This rota has no stages.</h2> |
| 305 |
<p><button type="button" data-toggle="modal" data-target="#addStageModal"><i class="fa fa-plus"></i> Add a stage</button></p> |
305 |
<p><button type="button" data-toggle="modal" data-target="#addStageModal"><i class="fa fa-plus"></i> Add a stage</button></p> |
| 306 |
</div> |
306 |
</div> |
| 307 |
|
307 |
|
|
Lines 319-325
Link Here
|
| 319 |
|
319 |
|
| 320 |
[% IF error == 'invalid_form' %] |
320 |
[% IF error == 'invalid_form' %] |
| 321 |
<div class="dialog alert"> |
321 |
<div class="dialog alert"> |
| 322 |
<h3>There was a problem with your form submission</h3> |
322 |
<h2>There was a problem with your form submission</h2> |
| 323 |
</div> |
323 |
</div> |
| 324 |
[% END %] |
324 |
[% END %] |
| 325 |
|
325 |
|
|
Lines 387-395
Link Here
|
| 387 |
[% IF error %] |
387 |
[% IF error %] |
| 388 |
<div class="dialog alert"> |
388 |
<div class="dialog alert"> |
| 389 |
[% IF error == "item_not_found" %] |
389 |
[% IF error == "item_not_found" %] |
| 390 |
<h3>The item was not found</h3> |
390 |
<h2>The item was not found</h2> |
| 391 |
[% ELSIF error == "already_on_rota" %] |
391 |
[% ELSIF error == "already_on_rota" %] |
| 392 |
<h3>This item is already on this rota</h3> |
392 |
<h2>This item is already on this rota</h2> |
| 393 |
[% END %] |
393 |
[% END %] |
| 394 |
</div> |
394 |
</div> |
| 395 |
[% END %] |
395 |
[% END %] |
|
Lines 403-409
Link Here
|
| 403 |
<div class="modal-content"> |
403 |
<div class="modal-content"> |
| 404 |
<div class="modal-header"> |
404 |
<div class="modal-header"> |
| 405 |
<button type="button" class="closebtn" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button> |
405 |
<button type="button" class="closebtn" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button> |
| 406 |
<h4 class="modal-title" id="addItemsLabel">Add item to <em>[% rota.title | html %]</em></h4> |
406 |
<h2 class="modal-title" id="addItemsLabel">Add item to <em>[% rota.title | html %]</em></h2> |
| 407 |
</div> |
407 |
</div> |
| 408 |
<div class="modal-body"> |
408 |
<div class="modal-body"> |
| 409 |
<fieldset class="rows"> |
409 |
<fieldset class="rows"> |
|
Lines 510-516
Link Here
|
| 510 |
[% ELSE %] |
510 |
[% ELSE %] |
| 511 |
|
511 |
|
| 512 |
<div class="dialog message"> |
512 |
<div class="dialog message"> |
| 513 |
<h4>There are no items assigned to this rota.</h4> |
513 |
<h2>There are no items assigned to this rota.</h2> |
| 514 |
<p><button type="button" data-toggle="modal" data-target="#addItemsModal"><i class="fa fa-plus"></i> Add items</button></p> |
514 |
<p><button type="button" data-toggle="modal" data-target="#addItemsModal"><i class="fa fa-plus"></i> Add items</button></p> |
| 515 |
</div> |
515 |
</div> |
| 516 |
|
516 |
|
|
Lines 526-532
Link Here
|
| 526 |
|
526 |
|
| 527 |
<div> |
527 |
<div> |
| 528 |
[% IF barcode_status.ok.size > 0 %] |
528 |
[% IF barcode_status.ok.size > 0 %] |
| 529 |
<h4>Items added to rota:</h4> |
529 |
<h2>Items added to rota:</h2> |
| 530 |
<ul> |
530 |
<ul> |
| 531 |
[% FOREACH item_ok IN barcode_status.ok %] |
531 |
[% FOREACH item_ok IN barcode_status.ok %] |
| 532 |
<li>[% item_ok.biblio.title | html %]</li> |
532 |
<li>[% item_ok.biblio.title | html %]</li> |
|
Lines 534-540
Link Here
|
| 534 |
</ul> |
534 |
</ul> |
| 535 |
[% END %] |
535 |
[% END %] |
| 536 |
[% IF barcode_status.on_this.size > 0 %] |
536 |
[% IF barcode_status.on_this.size > 0 %] |
| 537 |
<h4>Items already on this rota:</h4> |
537 |
<h2>Items already on this rota:</h2> |
| 538 |
<ul> |
538 |
<ul> |
| 539 |
[% FOREACH item_on_this IN barcode_status.on_this %] |
539 |
[% FOREACH item_on_this IN barcode_status.on_this %] |
| 540 |
<li>[% item_on_this.biblio.title | html %]</li> |
540 |
<li>[% item_on_this.biblio.title | html %]</li> |
|
Lines 542-548
Link Here
|
| 542 |
</ul> |
542 |
</ul> |
| 543 |
[% END %] |
543 |
[% END %] |
| 544 |
[% IF barcode_status.not_found.size > 0 %] |
544 |
[% IF barcode_status.not_found.size > 0 %] |
| 545 |
<h4>Barcodes not found:</h4> |
545 |
<h2>Barcodes not found:</h2> |
| 546 |
<ul> |
546 |
<ul> |
| 547 |
[% FOREACH barcode_not_found IN barcode_status.not_found %] |
547 |
[% FOREACH barcode_not_found IN barcode_status.not_found %] |
| 548 |
<li>[% barcode_not_found | html %]</li> |
548 |
<li>[% barcode_not_found | html %]</li> |
|
Lines 550-556
Link Here
|
| 550 |
</ul> |
550 |
</ul> |
| 551 |
[% END %] |
551 |
[% END %] |
| 552 |
[% IF barcode_status.on_other.size > 0 %] |
552 |
[% IF barcode_status.on_other.size > 0 %] |
| 553 |
<h4>Items found on other rotas:</h4> |
553 |
<h2>Items found on other rotas:</h2> |
| 554 |
<ul> |
554 |
<ul> |
| 555 |
[% FOREACH item_on_other IN barcode_status.on_other %] |
555 |
[% FOREACH item_on_other IN barcode_status.on_other %] |
| 556 |
<li>[% item_on_other.biblio.title | html %]</li> |
556 |
<li>[% item_on_other.biblio.title | html %]</li> |