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 507-606
Link Here
|
507 |
</ol> |
541 |
</ol> |
508 |
</div> [% # /div.rows %] |
542 |
</div> [% # /div.rows %] |
509 |
</div> [% # /div#patron-library-details %] |
543 |
</div> [% # /div#patron-library-details %] |
510 |
<div class="action"> |
|
|
511 |
<a href="memberentry.pl?op=modify&borrowernumber=[% patron.borrowernumber %]&step=3">Edit</a> |
512 |
</div> |
513 |
|
544 |
|
514 |
<div id="patron-alternate-address" style="padding-top: 1em;"> |
545 |
<div id="patron-alternate-address" class="patroninfo-section"> |
515 |
<h3>Alternate address</h3> |
546 |
[% IF ( patron.B_phone || patron.B_email || patron.contactnote || patron.B_address || patron.B_address2 || patron.B_city || patron.B_zipcode || patron.B_country ) %] |
|
|
547 |
<div class="patroninfo-heading"> |
548 |
<h3>Alternate address</h3> |
549 |
<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> |
550 |
</div> |
551 |
<div class="address"> |
552 |
<ul> |
553 |
[% IF Koha.Preference( 'AddressFormat' ) %] |
554 |
[% INCLUDE "member-display-alt-address-style-${ Koha.Preference( 'AddressFormat' ) }.inc" %] |
555 |
[% ELSE %] |
556 |
[% INCLUDE 'member-display-alt-address-style-us.inc' %] |
557 |
[% END %] |
558 |
</ul> |
559 |
</div> |
560 |
<div class="rows"> |
561 |
<ol> |
562 |
[% IF ( patron.B_phone ) %] |
563 |
<li> |
564 |
<span class="label">Phone: </span> |
565 |
<a href="tel:[% patron.B_phone %]">[% patron.B_phone |html %]</a> |
566 |
</li> |
567 |
[% END %] |
568 |
|
569 |
[% IF ( patron.B_email ) %] |
570 |
<li class="email"> |
571 |
<span class="label">Email: </span> |
572 |
<a title="[% patron.B_email %]" href="mailto:[% patron.B_email | url %]">[% B_email |html %]</a> |
573 |
</li> |
574 |
[% END %] |
516 |
|
575 |
|
517 |
[% IF Koha.Preference( 'AddressFormat' ) %] |
576 |
[% IF ( patron.contactnote ) %] |
518 |
[% INCLUDE "member-display-alt-address-style-${ Koha.Preference( 'AddressFormat' ) }.inc" %] |
577 |
<li> |
|
|
578 |
<span class="label">Contact note: </span> |
579 |
[% patron.contactnote |html %] |
580 |
</li> |
581 |
[% END %] |
582 |
</ol> |
583 |
</div> |
519 |
[% ELSE %] |
584 |
[% ELSE %] |
520 |
[% INCLUDE 'member-display-alt-address-style-us.inc' %] |
585 |
<div class="patroninfo-heading"> |
|
|
586 |
<h3 class="inline">Alternate address</h3> |
587 |
<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> |
588 |
</div> |
521 |
[% END %] |
589 |
[% END %] |
522 |
|
|
|
523 |
<div class="rows"> |
524 |
<ol> |
525 |
[% IF ( patron.B_phone ) %] |
526 |
<li> |
527 |
<span class="label">Phone: </span> |
528 |
<a href="tel:[% patron.B_phone %]">[% patron.B_phone |html %]</a> |
529 |
</li> |
530 |
[% END %] |
531 |
[% IF ( patron.B_email ) %] |
532 |
<li class="email"> |
533 |
<span class="label">Email: </span> |
534 |
<a title="[% patron.B_email %]" href="mailto:[% patron.B_email | url %]">[% B_email |html %]</a> |
535 |
</li> |
536 |
[% END %] |
537 |
[% IF ( patron.contactnote ) %] |
538 |
<li> |
539 |
<span class="label">Contact note: </span> |
540 |
[% patron.contactnote |html %] |
541 |
</li> |
542 |
[% END %] |
543 |
</ol> |
544 |
</div> |
545 |
</div> [% # /div#patron-alternate-address %] |
590 |
</div> [% # /div#patron-alternate-address %] |
546 |
<div class="action"> |
|
|
547 |
<a href="memberentry.pl?op=modify&borrowernumber=[% patron.borrowernumber %]&step=6">Edit</a> |
548 |
</div> |
549 |
|
591 |
|
550 |
<div id="patron-alternative-contact" style="padding-top: 1em;"> |
592 |
<div id="patron-alternative-contact" class="patroninfo-section"> |
551 |
<h3>Alternative contact</h3> |
593 |
[% IF ( patron.altcontactsurname || patron.altcontactfirstname || patron.altcontactaddress1 || patron.altcontactaddress2 || patron.altcontactaddress3 || patron.altcontactstate || patron.altcontactzipcode || patron.altcontactcountry || patron.altcontactphone ) %] |
552 |
<div class="rows"> |
594 |
<div class="patroninfo-heading"> |
553 |
<ol> |
595 |
<h3>Alternative contact</h3> |
554 |
<li> |
596 |
<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> |
555 |
<span class="label">Surname: </span> |
597 |
</div> |
556 |
[% patron.altcontactsurname | html %] |
598 |
<div class="rows"> |
557 |
</li> |
599 |
<ol> |
558 |
<li> |
600 |
[% IF ( patron.altcontactsurname ) %] |
559 |
<span class="label">First name: </span> |
601 |
<li> |
560 |
[% patron.altcontactfirstname | html %] |
602 |
<span class="label">Surname: </span> |
561 |
</li> |
603 |
[% patron.altcontactsurname | html %] |
562 |
<li> |
604 |
</li> |
563 |
<span class="label">Address: </span> |
605 |
[% END %] |
564 |
[% patron.altcontactaddress1 | html %] |
606 |
[% IF ( patron.altcontactfirstname ) %] |
565 |
</li> |
607 |
<li> |
566 |
<li> |
608 |
<span class="label">First name: </span> |
567 |
<span class="label">Address 2: </span> |
609 |
[% patron.altcontactfirstname | html %] |
568 |
[% patron.altcontactaddress2 | html %] |
610 |
</li> |
569 |
</li> |
611 |
[% END %] |
570 |
<li> |
612 |
[% IF ( patron.altcontactaddress1 ) %] |
571 |
<span class="label">City: </span> |
613 |
<li> |
572 |
[% patron.altcontactaddress3 | html %] |
614 |
<span class="label">Address: </span> |
573 |
</li> |
615 |
[% patron.altcontactaddress1 | html %] |
574 |
|
616 |
</li> |
575 |
[% IF ( patron.altcontactstate ) %] |
617 |
[% END %] |
576 |
<li> |
618 |
[% IF ( patron.altcontactaddress2 ) %] |
577 |
<span class="label">State: </span> |
619 |
<li> |
578 |
[% patron.altcontactstate | html %] |
620 |
<span class="label">Address 2: </span> |
579 |
</li> |
621 |
[% patron.altcontactaddress2 | html %] |
580 |
[% END %] |
622 |
</li> |
|
|
623 |
[% END %] |
624 |
[% IF ( patron.altcontactaddress3 ) %] |
625 |
<li> |
626 |
<span class="label">City: </span> |
627 |
[% patron.altcontactaddress3 | html %] |
628 |
</li> |
629 |
[% END %] |
581 |
|
630 |
|
582 |
<li> |
631 |
[% IF ( patron.altcontactstate ) %] |
583 |
<span class="label">ZIP/Postal code: </span> |
632 |
<li> |
584 |
[% patron.altcontactzipcode | html %] |
633 |
<span class="label">State: </span> |
585 |
</li> |
634 |
[% patron.altcontactstate | html %] |
586 |
[% IF ( patron.altcontactcountry ) %] |
635 |
</li> |
587 |
<li> |
636 |
[% END %] |
588 |
<span class="label">Country: </span> |
637 |
[% IF ( patron.altcontactzipcode ) %] |
589 |
[% patron.altcontactcountry | html %] |
638 |
<li> |
590 |
</li> |
639 |
<span class="label">ZIP/Postal code: </span> |
591 |
[% END %] |
640 |
[% patron.altcontactzipcode | html %] |
592 |
[% IF ( patron.altcontactphone ) %] |
641 |
</li> |
593 |
<li> |
642 |
[% END %] |
594 |
<span class="label">Phone: </span> |
643 |
[% IF ( patron.altcontactcountry ) %] |
595 |
<a href="tel:[% patron.altcontactphone | url %]">[% patron.altcontactphone | html %]</a> |
644 |
<li> |
596 |
</li> |
645 |
<span class="label">Country: </span> |
597 |
[% END %] |
646 |
[% patron.altcontactcountry | html %] |
598 |
</ol> |
647 |
</li> |
599 |
</div> [% # /div.rows %] |
648 |
[% END %] |
|
|
649 |
[% IF ( patron.altcontactphone ) %] |
650 |
<li> |
651 |
<span class="label">Phone: </span> |
652 |
<a href="tel:[% patron.altcontactphone | url %]">[% patron.altcontactphone | html %]</a> |
653 |
</li> |
654 |
[% END %] |
655 |
</ol> |
656 |
</div> [% # /div.rows %] |
657 |
[% ELSE %] |
658 |
<div class="patroninfo-heading"> |
659 |
<h3>Alternative contact</h3> |
660 |
<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> |
661 |
</div> |
662 |
[% END %] |
600 |
</div> [% # /div#patron-alternative-contact %] |
663 |
</div> [% # /div#patron-alternative-contact %] |
601 |
<div class="action"> |
|
|
602 |
<a href="memberentry.pl?op=modify&borrowernumber=[% patron.borrowernumber %]&step=2">Edit</a> |
603 |
</div> |
604 |
</div> [% # /div.yui-u %] |
664 |
</div> [% # /div.yui-u %] |
605 |
</div> [% # /div.yui-g %] |
665 |
</div> [% # /div.yui-g %] |
606 |
|
666 |
|
Lines 846-851
Link Here
|
846 |
$("#view_restrictions").on("click",function(){ |
906 |
$("#view_restrictions").on("click",function(){ |
847 |
$('#debarments-tab-link').click(); |
907 |
$('#debarments-tab-link').click(); |
848 |
}); |
908 |
}); |
|
|
909 |
|
910 |
$("#show-picture-upload").on("click", function(e){ |
911 |
e.preventDefault(); |
912 |
$(this).toggle(); |
913 |
$("#picture-upload").toggle(); |
914 |
}); |
915 |
|
916 |
$("#cancel-picture-upload").on("click", function(e){ |
917 |
e.preventDefault(); |
918 |
$("#picture-upload, #show-picture-upload").toggle(); |
919 |
}); |
920 |
|
849 |
}); |
921 |
}); |
850 |
function uncheck_sibling(me){ |
922 |
function uncheck_sibling(me){ |
851 |
nodename=me.getAttribute("name"); |
923 |
nodename=me.getAttribute("name"); |
852 |
- |
|
|