Bug 24008: Display warnings in a list
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
parent
e6e039c7c7
commit
3b3179a214
1 changed files with 9 additions and 5 deletions
|
@ -37,14 +37,18 @@
|
||||||
[% ELSIF op == 'delete_confirm' and patron %]
|
[% ELSIF op == 'delete_confirm' and patron %]
|
||||||
[%# TODO add "patron does not exist" unless patron %]
|
[%# TODO add "patron does not exist" unless patron %]
|
||||||
<div class="dialog alert">
|
<div class="dialog alert">
|
||||||
[% IF ( ItemsOnHold ) %]
|
[% IF ItemsOnHold or credits %]
|
||||||
<h3>Patron has [% ItemsOnHold | html %] hold(s). Deleting patron cancels all their holds.</h3></br>
|
<ul>
|
||||||
|
[% IF ItemsOnHold %]
|
||||||
|
<li>Patron has [% ItemsOnHold | html %] hold(s). Deleting patron cancels all their holds.</li>
|
||||||
|
[% END %]
|
||||||
|
[% IF credits %]
|
||||||
|
<li>Patron has a [% credits | $Price %] credit.</li>
|
||||||
|
[% END %]
|
||||||
|
<ul>
|
||||||
[% END %]
|
[% END %]
|
||||||
<h3>Are you sure you want to delete the patron [% patron.firstname | html %] [% patron.surname | html %]? This cannot be undone.</h3>
|
<h3>Are you sure you want to delete the patron [% patron.firstname | html %] [% patron.surname | html %]? This cannot be undone.</h3>
|
||||||
|
|
||||||
[% IF credits %]
|
|
||||||
<h4>Patron has a [% credits | $Price %] credit.</h4>
|
|
||||||
[% END %]
|
|
||||||
<form action="/cgi-bin/koha/members/deletemem.pl">
|
<form action="/cgi-bin/koha/members/deletemem.pl">
|
||||||
<input type="hidden" name="csrf_token" value="[% csrf_token | html %]" />
|
<input type="hidden" name="csrf_token" value="[% csrf_token | html %]" />
|
||||||
<input type="hidden" name="member" value="[% patron.borrowernumber | html %]"/>
|
<input type="hidden" name="member" value="[% patron.borrowernumber | html %]"/>
|
||||||
|
|
Loading…
Reference in a new issue