Link Here
|
200 |
<h4 class="modal-title" id="patronImageEditLabel">Patron photo</h4> |
200 |
<h4 class="modal-title" id="patronImageEditLabel">Patron photo</h4> |
201 |
</div> |
201 |
</div> |
202 |
<div class="modal-body"> |
202 |
<div class="modal-body"> |
|
|
203 |
[% IF ( patron.cardnumber ) %] |
203 |
<div id="upload-patron-image" class="patroninfo-section"> |
204 |
<div id="upload-patron-image" class="patroninfo-section"> |
204 |
<h5>Upload patron photo</h5> |
205 |
<h5>Upload patron photo</h5> |
205 |
<form method="post" id="picture-upload" action="/cgi-bin/koha/tools/picture-upload.pl" |
206 |
<form method="post" id="picture-upload" action="/cgi-bin/koha/tools/picture-upload.pl" |
Link Here
|
277 |
<span id="camera-error-message"></span> |
278 |
<span id="camera-error-message"></span> |
278 |
</div> |
279 |
</div> |
279 |
</div> |
280 |
</div> |
|
|
281 |
[% ELSE %] |
282 |
<div id="missing-cardnumber-picture-upload"> |
283 |
<p>The patron must have a cardnumber before a patron photo can be uploaded.</p> |
284 |
</div> |
285 |
[% END %] |
280 |
</div> |
286 |
</div> |
281 |
<div class="modal-footer"> |
287 |
<div class="modal-footer"> |
282 |
<button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button> |
288 |
<button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button> |