Lines 13-18
Link Here
|
13 |
</title> |
13 |
</title> |
14 |
[% INCLUDE 'doc-head-close.inc' %] |
14 |
[% INCLUDE 'doc-head-close.inc' %] |
15 |
[% Asset.css("css/datatables.css") %] |
15 |
[% Asset.css("css/datatables.css") %] |
|
|
16 |
<style> |
17 |
input[type="file"] { display: inline-block; } |
18 |
.patroninfo-section { padding: .5em; margin: .5em; } |
19 |
.patroninfo-section .rows { padding: .5em; } |
20 |
.patroninfo-heading { background-color: rgba(237, 244, 246, .4); padding: .5em; margin-bottom: .3em; clear:both;} |
21 |
.patroninfo-heading h3 { display: inline-block; } |
22 |
.patroninfo-heading .btn { float: right; } |
23 |
</style> |
16 |
</head> |
24 |
</head> |
17 |
|
25 |
|
18 |
<body id="pat_moremember" class="pat"> |
26 |
<body id="pat_moremember" class="pat"> |
Lines 136-152
Link Here
|
136 |
</h3> |
144 |
</h3> |
137 |
<div class="yui-u first"> |
145 |
<div class="yui-u first"> |
138 |
|
146 |
|
139 |
<div id="patron-information" style="padding : .5em;"> |
147 |
<div id="patron-information" class="patroninfo-section"> |
140 |
[% IF ( patron.othernames ) %]“[% patron.othernames | html %]”[% END %] |
|
|
141 |
|
148 |
|
142 |
<div class="address"> |
149 |
<div class="patroninfo-heading"> |
143 |
[% IF Koha.Preference( 'AddressFormat' ) %] |
150 |
<h3>Contact information</h3> |
144 |
[% INCLUDE "member-display-address-style-${ Koha.Preference( 'AddressFormat' ) }.inc" %] |
151 |
[% IF ( guarantor.borrowernumber ) %] |
|
|
152 |
<a class="btn btn-default btn-xs" href="memberentry.pl?op=modify&borrowernumber=[% patron.borrowernumber %]&step=1&guarantorid=[% guarantor.borrowernumber %]"><i class="fa fa-pencil"></i> Edit</a> |
145 |
[% ELSE %] |
153 |
[% ELSE %] |
146 |
[% INCLUDE 'member-display-address-style-us.inc' %] |
154 |
<a class="btn btn-default btn-xs" href="memberentry.pl?op=modify&borrowernumber=[% patron.borrowernumber %]&step=1"><i class="fa fa-pencil"></i> Edit</a> |
147 |
[% END %] |
155 |
[% END %] |
148 |
</div> |
156 |
</div> |
149 |
|
157 |
|
|
|
158 |
[% IF ( patron.othernames ) %]“[% patron.othernames | html %]”[% END %] |
159 |
|
160 |
<div class="address"> |
161 |
<ul> |
162 |
[% IF Koha.Preference( 'AddressFormat' ) %] |
163 |
[% INCLUDE "member-display-address-style-${ Koha.Preference( 'AddressFormat' ) }.inc" %] |
164 |
[% ELSE %] |
165 |
[% INCLUDE 'member-display-address-style-us.inc' %] |
166 |
[% END %] |
167 |
</ul> |
168 |
</div> |
169 |
|
150 |
<div class="rows"> |
170 |
<div class="rows"> |
151 |
<ol> |
171 |
<ol> |
152 |
[% IF ( patron.phone ) %] |
172 |
[% IF ( patron.phone ) %] |
Lines 230-346
Link Here
|
230 |
[% END %] |
250 |
[% END %] |
231 |
</ol> |
251 |
</ol> |
232 |
</div> [% # /div.rows %] |
252 |
</div> [% # /div.rows %] |
233 |
<div class="action"> |
|
|
234 |
[% IF ( guarantor.borrowernumber ) %] |
235 |
<a href="memberentry.pl?op=modify&borrowernumber=[% patron.borrowernumber %]&step=1&guarantorid=[% guarantor.borrowernumber %]">Edit</a> |
236 |
[% ELSE %] |
237 |
<a href="memberentry.pl?op=modify&borrowernumber=[% patron.borrowernumber %]&step=1">Edit</a> |
238 |
[% END %] |
239 |
</div> |
240 |
|
241 |
</div> [% # /div#patron-information %] |
253 |
</div> [% # /div#patron-information %] |
242 |
|
254 |
|
243 |
[% IF ( patronimages ) %] |
255 |
[% IF ( patronimages ) %] |
244 |
[% IF ( CAN_user_tools_batch_upload_patron_images ) %] |
256 |
[% IF ( CAN_user_tools_batch_upload_patron_images ) %] |
245 |
<div id="manage-patron-image"> |
257 |
<div id="manage-patron-image" class="patroninfo-section"> |
246 |
<form method="post" action="/cgi-bin/koha/tools/picture-upload.pl" enctype="multipart/form-data"> |
258 |
[% IF ( patron.image ) %] |
247 |
<fieldset class="brief"> |
259 |
<div class="patroninfo-heading"> |
248 |
[% IF ( patron.image ) %] |
260 |
<h3>Manage patron image</h3> |
249 |
<legend>Manage patron image</legend> |
261 |
<a class="btn btn-default btn-xs" id="show-picture-upload" href="#"><i class="fa fa-pencil"></i> Edit</a> |
250 |
<div class="hint">To update the image for [% patron.title | html %] [% patron.surname | html %], select a new image file and click 'Upload.' <br />Click the 'Delete' button to remove the current image. |
262 |
</div> |
251 |
[% ELSE %] |
263 |
[% ELSE %] |
252 |
<legend>Upload patron image</legend> |
264 |
<div class="patroninfo-heading"> |
253 |
<div class="hint">[% patron.title %] [% patron.firstname | html %] [% patron.surname | html %] does not currently have an image available. To import an image for [% patron.title %] [% patron.surname | html %], enter the name of an image file to upload. |
265 |
<h3>Upload patron image</h3> |
254 |
[% END %] |
266 |
<a class="btn btn-default btn-xs" id="show-picture-upload" href="#"><i class="fa fa-plus"></i> Add</a> |
255 |
<br />Only PNG, GIF, JPEG, XPM formats are supported. |
267 |
</div> |
256 |
</div> |
268 |
[% END %] |
|
|
269 |
<form method="post" id="picture-upload" style="display:none;" action="/cgi-bin/koha/tools/picture-upload.pl" enctype="multipart/form-data"> |
270 |
[% IF ( patron.image ) %] |
271 |
<div class="hint">To update the image for [% patron.title | html %] [% patron.surname | html %], select a new image file and click 'Upload.' <br />Click the 'Delete' button to remove the current image.</div> |
272 |
[% ELSE %] |
273 |
<div class="hint">[% patron.title %] [% patron.firstname | html %] [% patron.surname | html %] does not currently have an image available. To import an image for [% patron.title %] [% patron.surname | html %], enter the name of an image file to upload.</div> |
274 |
[% END %] |
275 |
<p>Only PNG, GIF, JPEG, XPM formats are supported.</p> |
276 |
<label for="uploadfile">Select the file to upload: </label> |
277 |
<input type="file" id="uploadfile" name="uploadfile" required="required" /> |
278 |
<div class="action"> |
279 |
<input type="hidden" name="csrf_token" value="[% csrf_token %]" /> |
257 |
<input type="hidden" id="image" name="filetype" value="image" /> |
280 |
<input type="hidden" id="image" name="filetype" value="image" /> |
258 |
<input type="hidden" id="cardnumber" name="cardnumber" value="[% patron.cardnumber | html %]" /> |
281 |
<input type="hidden" id="cardnumber" name="cardnumber" value="[% patron.cardnumber | html %]" /> |
259 |
<input type="hidden" name="borrowernumber" value="[% patron.borrowernumber %]" /> |
282 |
<input type="hidden" name="borrowernumber" value="[% patron.borrowernumber %]" /> |
260 |
<ol> |
283 |
<button type="submit" class="btn btn-default btn-xs"><i class="fa fa-upload"></i> Upload</button> |
261 |
<li> |
284 |
<input name="op" type="hidden" value="Upload" /> |
262 |
<label for="uploadfile">Select the file to upload: </label> |
285 |
[% IF ( patron.image ) %] |
263 |
<input type="file" id="uploadfile" name="uploadfile" /> |
286 |
<a id="delpicture" href="/cgi-bin/koha/tools/picture-upload.pl?op=Delete&borrowernumber=[% patron.borrowernumber %]&csrf_token=[% csrf_token %]" class="btn btn-default btn-xs delete"><i class="fa fa-trash"></i> Delete</a> |
264 |
</li> |
287 |
[% END %] |
265 |
</ol> |
288 |
<a href="#" id="cancel-picture-upload" class="cancel">Cancel</a> |
266 |
<fieldset class="action"> |
289 |
</div> |
267 |
<input type="hidden" name="csrf_token" value="[% csrf_token %]" /> |
|
|
268 |
<input type="submit" value="Upload" class="submit" /> |
269 |
<input name="op" type="hidden" value="Upload" /> |
270 |
[% IF ( patron.image ) %] |
271 |
<a id="delpicture" href="/cgi-bin/koha/tools/picture-upload.pl?op=Delete&borrowernumber=[% patron.borrowernumber %]&csrf_token=[% csrf_token %]" class="delete">Delete</a> |
272 |
[% END %] |
273 |
</fieldset> |
274 |
</fieldset> |
275 |
</form> |
290 |
</form> |
276 |
</div> [% # /div#manage-patron-image %] |
291 |
</div> [% # /div#manage-patron-image %] |
277 |
[% END %] |
292 |
[% END %] |
278 |
[% END %] |
293 |
[% END %] |
279 |
|
294 |
|
280 |
[% IF Koha.Preference('HouseboundModule') %] |
295 |
[% IF Koha.Preference('HouseboundModule') %] |
281 |
<div id="houseboundroles"> |
296 |
<div id="houseboundroles" class="patroninfo-section"> |
282 |
<h3>Housebound roles</h3> |
297 |
[% IF ( housebound_role.housebound_chooser == 1 OR housebound_role.housebound_deliverer == 1 ) %] |
283 |
<div class="rows"> |
298 |
<div class="patroninfo-heading"> |
284 |
<ol> |
299 |
<h3>Housebound roles</h3> |
285 |
<li> |
300 |
<a class="btn btn-default btn-xs" href="memberentry.pl?op=modify&borrowernumber=[% patron.borrowernumber %]&step=4"><i class="fa fa-pencil"></i> Edit</a> |
286 |
<span class="label">Chooser:</span> |
301 |
</div> |
287 |
[% IF ( housebound_role.housebound_chooser == 1 ) %] |
302 |
<div class="rows"> |
288 |
Yes |
303 |
<ol> |
289 |
[% ELSE %] |
304 |
<li> |
290 |
No |
305 |
<span class="label">Chooser:</span> |
291 |
[% END %] |
306 |
[% IF ( housebound_role.housebound_chooser == 1 ) %] |
292 |
</li> |
307 |
Yes |
293 |
<li> |
308 |
[% ELSE %] |
294 |
<span class="label">Deliverer:</span> |
309 |
No |
295 |
[% IF ( housebound_role.housebound_deliverer == 1 ) %] |
310 |
[% END %] |
296 |
Yes |
311 |
</li> |
297 |
[% ELSE %] |
312 |
<li> |
298 |
No |
313 |
<span class="label">Deliverer:</span> |
299 |
[% END %] |
314 |
[% IF ( housebound_role.housebound_deliverer == 1 ) %] |
300 |
</li> |
315 |
Yes |
301 |
</ol> |
316 |
[% ELSE %] |
302 |
</div> |
317 |
No |
303 |
</div> |
318 |
[% END %] |
304 |
<div class="action"> |
319 |
</li> |
305 |
<a href="memberentry.pl?op=modify&borrowernumber=[% patron.borrowernumber %]&step=4">Edit</a> |
320 |
</ol> |
306 |
</div> |
321 |
</div> |
|
|
322 |
[% ELSE %] |
323 |
<div class="patroninfo-heading"> |
324 |
<h3>Housebound roles</h3> |
325 |
<a class="btn btn-default btn-xs" href="memberentry.pl?op=modify&borrowernumber=[% patron.borrowernumber %]&step=4"><i class="fa fa-plus"></i> Add</a> |
326 |
</div> |
327 |
[% END %] |
328 |
</div> [% #/ div#houseboundroles %] |
307 |
[% END %] |
329 |
[% END %] |
308 |
|
330 |
|
309 |
[% IF ( ExtendedPatronAttributes ) %] |
331 |
[% IF ( ExtendedPatronAttributes ) %] |
310 |
[% UNLESS ( no_patron_attribute_types ) %] |
332 |
[% UNLESS ( no_patron_attribute_types ) %] |
311 |
<div id="patron-extended-attributes" style="padding-top: 1em;"> |
333 |
<div id="patron-extended-attributes" class="patroninfo-section"> |
312 |
<h3>Additional attributes and identifiers</h3> |
334 |
[% IF ( attributes_loop ) %] |
313 |
[% FOREACH attribute IN attributes_loop %] |
335 |
<div class="patroninfo-heading"> |
314 |
[% IF attribute.class %] |
336 |
<h3>Additional attributes and identifiers</h3> |
315 |
<div id="aai_[% attribute.class %]" class="rows"> |
337 |
<a class="btn btn-default btn-xs" href="memberentry.pl?op=modify&borrowernumber=[% patron.borrowernumber %]&step=4"><i class="fa fa-pencil"></i> Edit</a> |
316 |
[% ELSE %] |
338 |
</div> |
317 |
<div id="aai" class="rows"> |
339 |
[% FOREACH attribute IN attributes_loop %] |
|
|
340 |
[% IF attribute.class %] |
341 |
<div id="aai_[% attribute.class %]" class="rows"> |
342 |
[% ELSE %] |
343 |
<div id="aai" class="rows"> |
344 |
[% END %] |
345 |
<h4>[% attribute.lib %]</h4> |
346 |
<ol> |
347 |
[% FOREACH item IN attribute.items %] |
348 |
<li> |
349 |
<span class="label">[% item.description %]: </span> |
350 |
[% IF ( item.value_description ) %] |
351 |
[% item.value_description %] |
352 |
[% ELSE %] |
353 |
[% item.value| html_line_break %] |
354 |
[% END %] |
355 |
</li> |
356 |
[% END %] |
357 |
</ol> |
358 |
</div> |
318 |
[% END %] |
359 |
[% END %] |
319 |
<h4>[% attribute.lib %]</h4> |
360 |
<div class="action"> |
320 |
<ol> |
361 |
</div> |
321 |
[% FOREACH item IN attribute.items %] |
362 |
[% ELSE %] |
322 |
<li> |
363 |
<div class="patroninfo-heading"> |
323 |
<span class="label">[% item.description %]: </span> |
364 |
<h3>Additional attributes and identifiers</h3> |
324 |
[% IF ( item.value_description ) %] |
365 |
<a class="btn btn-default btn-xs" href="memberentry.pl?op=modify&borrowernumber=[% patron.borrowernumber %]&step=4"><i class="fa fa-plus"></i> Add</a> |
325 |
[% item.value_description %] |
|
|
326 |
[% ELSE %] |
327 |
[% item.value| html_line_break %] |
328 |
[% END %] |
329 |
</li> |
330 |
[% END %] |
331 |
</ol> |
332 |
</div> |
366 |
</div> |
333 |
[% END %] |
367 |
[% END %] |
334 |
</div> |
368 |
</div> [% # /div#patron-extended-attributes %] |
335 |
<div class="action"> |
|
|
336 |
<a href="memberentry.pl?op=modify&borrowernumber=[% patron.borrowernumber %]&step=4">Edit</a> |
337 |
</div> |
338 |
[% END %] |
369 |
[% END %] |
339 |
[% END %] |
370 |
[% END %] |
340 |
|
371 |
|
341 |
[% IF ( EnhancedMessagingPreferences ) %] |
372 |
[% IF ( EnhancedMessagingPreferences ) %] |
342 |
<div id="patron-messaging-prefs" style="padding-top: 1em;"> |
373 |
<div id="patron-messaging-prefs" class="patroninfo-section"> |
343 |
<h3>Patron messaging preferences</h3> |
374 |
<div class="patroninfo-heading"> |
|
|
375 |
<h3>Patron messaging preferences</h3> |
376 |
<a class="btn btn-default btn-xs" href="memberentry.pl?op=modify&borrowernumber=[% patron.borrowernumber %]&step=5"><i class="fa fa-pencil"></i> Edit</a> |
377 |
</div> |
344 |
[% INCLUDE 'messaging-preference-form.inc' %] |
378 |
[% INCLUDE 'messaging-preference-form.inc' %] |
345 |
[% IF ( SMSSendDriver ) %] |
379 |
[% IF ( SMSSendDriver ) %] |
346 |
<div class="rows"> |
380 |
<div class="rows"> |
Lines 352-368
Link Here
|
352 |
</ol> |
386 |
</ol> |
353 |
</div> |
387 |
</div> |
354 |
[% END %] |
388 |
[% END %] |
355 |
</div> |
389 |
</div> [% # /div#patron-messaging-prefs %] |
356 |
<div class="action"> |
|
|
357 |
<a href="memberentry.pl?op=modify&borrowernumber=[% patron.borrowernumber %]&step=5">Edit</a> |
358 |
</div> |
359 |
[% END %] |
390 |
[% END %] |
360 |
|
391 |
|
361 |
</div> [% # /div.yui-u.first %] |
392 |
</div> [% # /div.yui-u.first %] |
362 |
|
393 |
|
363 |
<div class="yui-u"> |
394 |
<div class="yui-u"> |
364 |
<div id="patron-library-details"> |
395 |
<div id="patron-library-details" class="patroninfo-section"> |
365 |
<h3>Library use</h3> |
396 |
<div class="patroninfo-heading"> |
|
|
397 |
<h3>Library use</h3> |
398 |
<a class="btn btn-default btn-xs" href="memberentry.pl?op=modify&borrowernumber=[% patron.borrowernumber %]&step=3"><i class="fa fa-pencil"></i> Edit</a> |
399 |
</div> |
366 |
<div class="rows"> |
400 |
<div class="rows"> |
367 |
<ol> |
401 |
<ol> |
368 |
<li> |
402 |
<li> |
Lines 500-599
Link Here
|
500 |
</ol> |
534 |
</ol> |
501 |
</div> [% # /div.rows %] |
535 |
</div> [% # /div.rows %] |
502 |
</div> [% # /div#patron-library-details %] |
536 |
</div> [% # /div#patron-library-details %] |
503 |
<div class="action"> |
|
|
504 |
<a href="memberentry.pl?op=modify&borrowernumber=[% patron.borrowernumber %]&step=3">Edit</a> |
505 |
</div> |
506 |
|
537 |
|
507 |
<div id="patron-alternate-address" style="padding-top: 1em;"> |
538 |
<div id="patron-alternate-address" class="patroninfo-section"> |
508 |
<h3>Alternate address</h3> |
539 |
[% IF ( patron.B_phone || patron.B_email || patron.contactnote || patron.B_address || patron.B_address2 || patron.B_city || patron.B_zipcode || patron.B_country ) %] |
|
|
540 |
<div class="patroninfo-heading"> |
541 |
<h3>Alternate address</h3> |
542 |
<a class="btn btn-default btn-xs" href="memberentry.pl?op=modify&borrowernumber=[% patron.borrowernumber %]&step=6"><i class="fa fa-pencil"></i> Edit</a> |
543 |
</div> |
544 |
<div class="address"> |
545 |
<ul> |
546 |
[% IF Koha.Preference( 'AddressFormat' ) %] |
547 |
[% INCLUDE "member-display-alt-address-style-${ Koha.Preference( 'AddressFormat' ) }.inc" %] |
548 |
[% ELSE %] |
549 |
[% INCLUDE 'member-display-alt-address-style-us.inc' %] |
550 |
[% END %] |
551 |
</ul> |
552 |
</div> |
553 |
<div class="rows"> |
554 |
<ol> |
555 |
[% IF ( patron.B_phone ) %] |
556 |
<li> |
557 |
<span class="label">Phone: </span> |
558 |
<a href="tel:[% patron.B_phone %]">[% patron.B_phone |html %]</a> |
559 |
</li> |
560 |
[% END %] |
561 |
|
562 |
[% IF ( patron.B_email ) %] |
563 |
<li class="email"> |
564 |
<span class="label">Email: </span> |
565 |
<a title="[% patron.B_email %]" href="mailto:[% patron.B_email | url %]">[% B_email |html %]</a> |
566 |
</li> |
567 |
[% END %] |
509 |
|
568 |
|
510 |
[% IF Koha.Preference( 'AddressFormat' ) %] |
569 |
[% IF ( patron.contactnote ) %] |
511 |
[% INCLUDE "member-display-alt-address-style-${ Koha.Preference( 'AddressFormat' ) }.inc" %] |
570 |
<li> |
|
|
571 |
<span class="label">Contact note: </span> |
572 |
[% patron.contactnote |html %] |
573 |
</li> |
574 |
[% END %] |
575 |
</ol> |
576 |
</div> |
512 |
[% ELSE %] |
577 |
[% ELSE %] |
513 |
[% INCLUDE 'member-display-alt-address-style-us.inc' %] |
578 |
<div class="patroninfo-heading"> |
|
|
579 |
<h3 class="inline">Alternate address</h3> |
580 |
<a class="btn btn-default btn-xs" href="memberentry.pl?op=modify&borrowernumber=[% patron.borrowernumber %]&step=6"><i class="fa fa-plus"></i> Add</a> |
581 |
</div> |
514 |
[% END %] |
582 |
[% END %] |
515 |
|
|
|
516 |
<div class="rows"> |
517 |
<ol> |
518 |
[% IF ( patron.B_phone ) %] |
519 |
<li> |
520 |
<span class="label">Phone: </span> |
521 |
<a href="tel:[% patron.B_phone %]">[% patron.B_phone |html %]</a> |
522 |
</li> |
523 |
[% END %] |
524 |
[% IF ( patron.B_email ) %] |
525 |
<li class="email"> |
526 |
<span class="label">Email: </span> |
527 |
<a title="[% patron.B_email %]" href="mailto:[% patron.B_email | url %]">[% B_email |html %]</a> |
528 |
</li> |
529 |
[% END %] |
530 |
[% IF ( patron.contactnote ) %] |
531 |
<li> |
532 |
<span class="label">Contact note: </span> |
533 |
[% patron.contactnote |html %] |
534 |
</li> |
535 |
[% END %] |
536 |
</ol> |
537 |
</div> |
538 |
</div> [% # /div#patron-alternate-address %] |
583 |
</div> [% # /div#patron-alternate-address %] |
539 |
<div class="action"> |
|
|
540 |
<a href="memberentry.pl?op=modify&borrowernumber=[% patron.borrowernumber %]&step=6">Edit</a> |
541 |
</div> |
542 |
|
543 |
<div id="patron-alternative-contact" style="padding-top: 1em;"> |
544 |
<h3>Alternative contact</h3> |
545 |
<div class="rows"> |
546 |
<ol> |
547 |
<li> |
548 |
<span class="label">Surname: </span> |
549 |
[% patron.altcontactsurname | html %] |
550 |
</li> |
551 |
<li> |
552 |
<span class="label">First name: </span> |
553 |
[% patron.altcontactfirstname | html %] |
554 |
</li> |
555 |
<li> |
556 |
<span class="label">Address: </span> |
557 |
[% patron.altcontactaddress1 | html %] |
558 |
</li> |
559 |
<li> |
560 |
<span class="label">Address 2: </span> |
561 |
[% patron.altcontactaddress2 | html %] |
562 |
</li> |
563 |
<li> |
564 |
<span class="label">City: </span> |
565 |
[% patron.altcontactaddress3 | html %] |
566 |
</li> |
567 |
|
584 |
|
568 |
[% IF ( patron.altcontactstate ) %] |
585 |
<div id="patron-alternative-contact" class="patroninfo-section"> |
569 |
<li> |
586 |
[% IF ( patron.altcontactsurname || patron.altcontactfirstname || patron.altcontactaddress1 || patron.altcontactaddress2 || patron.altcontactaddress3 || patron.altcontactstate || patron.altcontactzipcode || patron.altcontactcountry || patron.altcontactphone ) %] |
570 |
<span class="label">State: </span> |
587 |
<div class="patroninfo-heading"> |
571 |
[% patron.altcontactstate | html %] |
588 |
<h3>Alternative contact</h3> |
572 |
</li> |
589 |
<a class="btn btn-default btn-xs" href="memberentry.pl?op=modify&borrowernumber=[% patron.borrowernumber %]&step=2"><i class="fa fa-pencil"></i> Edit</a> |
573 |
[% END %] |
590 |
</div> |
|
|
591 |
<div class="rows"> |
592 |
<ol> |
593 |
[% IF ( patron.altcontactsurname ) %] |
594 |
<li> |
595 |
<span class="label">Surname: </span> |
596 |
[% patron.altcontactsurname | html %] |
597 |
</li> |
598 |
[% END %] |
599 |
[% IF ( patron.altcontactfirstname ) %] |
600 |
<li> |
601 |
<span class="label">First name: </span> |
602 |
[% patron.altcontactfirstname | html %] |
603 |
</li> |
604 |
[% END %] |
605 |
[% IF ( patron.altcontactaddress1 ) %] |
606 |
<li> |
607 |
<span class="label">Address: </span> |
608 |
[% patron.altcontactaddress1 | html %] |
609 |
</li> |
610 |
[% END %] |
611 |
[% IF ( patron.altcontactaddress2 ) %] |
612 |
<li> |
613 |
<span class="label">Address 2: </span> |
614 |
[% patron.altcontactaddress2 | html %] |
615 |
</li> |
616 |
[% END %] |
617 |
[% IF ( patron.altcontactaddress3 ) %] |
618 |
<li> |
619 |
<span class="label">City: </span> |
620 |
[% patron.altcontactaddress3 | html %] |
621 |
</li> |
622 |
[% END %] |
574 |
|
623 |
|
575 |
<li> |
624 |
[% IF ( patron.altcontactstate ) %] |
576 |
<span class="label">ZIP/Postal code: </span> |
625 |
<li> |
577 |
[% patron.altcontactzipcode | html %] |
626 |
<span class="label">State: </span> |
578 |
</li> |
627 |
[% patron.altcontactstate | html %] |
579 |
[% IF ( patron.altcontactcountry ) %] |
628 |
</li> |
580 |
<li> |
629 |
[% END %] |
581 |
<span class="label">Country: </span> |
630 |
[% IF ( patron.altcontactzipcode ) %] |
582 |
[% patron.altcontactcountry | html %] |
631 |
<li> |
583 |
</li> |
632 |
<span class="label">ZIP/Postal code: </span> |
584 |
[% END %] |
633 |
[% patron.altcontactzipcode | html %] |
585 |
[% IF ( patron.altcontactphone ) %] |
634 |
</li> |
586 |
<li> |
635 |
[% END %] |
587 |
<span class="label">Phone: </span> |
636 |
[% IF ( patron.altcontactcountry ) %] |
588 |
<a href="tel:[% patron.altcontactphone | url %]">[% patron.altcontactphone | html %]</a> |
637 |
<li> |
589 |
</li> |
638 |
<span class="label">Country: </span> |
590 |
[% END %] |
639 |
[% patron.altcontactcountry | html %] |
591 |
</ol> |
640 |
</li> |
592 |
</div> [% # /div.rows %] |
641 |
[% END %] |
|
|
642 |
[% IF ( patron.altcontactphone ) %] |
643 |
<li> |
644 |
<span class="label">Phone: </span> |
645 |
<a href="tel:[% patron.altcontactphone | url %]">[% patron.altcontactphone | html %]</a> |
646 |
</li> |
647 |
[% END %] |
648 |
</ol> |
649 |
</div> [% # /div.rows %] |
650 |
[% ELSE %] |
651 |
<div class="patroninfo-heading"> |
652 |
<h3>Alternative contact</h3> |
653 |
<a class="btn btn-default btn-xs" href="memberentry.pl?op=modify&borrowernumber=[% patron.borrowernumber %]&step=2"><i class="fa fa-plus"></i> Add</a> |
654 |
</div> |
655 |
[% END %] |
593 |
</div> [% # /div#patron-alternative-contact %] |
656 |
</div> [% # /div#patron-alternative-contact %] |
594 |
<div class="action"> |
|
|
595 |
<a href="memberentry.pl?op=modify&borrowernumber=[% patron.borrowernumber %]&step=2">Edit</a> |
596 |
</div> |
597 |
</div> [% # /div.yui-u %] |
657 |
</div> [% # /div.yui-u %] |
598 |
</div> [% # /div.yui-g %] |
658 |
</div> [% # /div.yui-g %] |
599 |
|
659 |
|
Lines 835-840
Link Here
|
835 |
$("#view_restrictions").on("click",function(){ |
895 |
$("#view_restrictions").on("click",function(){ |
836 |
$('#debarments-tab-link').click(); |
896 |
$('#debarments-tab-link').click(); |
837 |
}); |
897 |
}); |
|
|
898 |
|
899 |
$("#show-picture-upload").on("click", function(e){ |
900 |
e.preventDefault(); |
901 |
$(this).toggle(); |
902 |
$("#picture-upload").toggle(); |
903 |
}); |
904 |
|
905 |
$("#cancel-picture-upload").on("click", function(e){ |
906 |
e.preventDefault(); |
907 |
$("#picture-upload, #show-picture-upload").toggle(); |
908 |
}); |
909 |
|
838 |
}); |
910 |
}); |
839 |
function uncheck_sibling(me){ |
911 |
function uncheck_sibling(me){ |
840 |
nodename=me.getAttribute("name"); |
912 |
nodename=me.getAttribute("name"); |
841 |
- |
|
|