|
Link Here
|
| 1 |
[% USE Koha %] |
1 |
[% USE Koha %] |
| 2 |
[% IF ( patron.borrowernumber ) %] |
2 |
[% IF ( patron.borrowernumber ) %] |
| 3 |
<div class="patroninfo"><h5>[% INCLUDE 'patron-title.inc' %]</h5> |
3 |
<div class="patroninfo"><h5>[% INCLUDE 'patron-title.inc' %]</h5> |
| 4 |
<!--[if IE 6]> |
4 |
|
| 5 |
<style type="tex/css">img { width: expression(this.width > 140 ? 140: true); |
5 |
[% IF ( patronimages ) %] |
| 6 |
}</style> |
6 |
<div> |
| 7 |
<![endif]--> |
7 |
<div class="patronimage-container"> |
|
|
8 |
[% IF ( patron.image ) %] |
| 9 |
<img src="/cgi-bin/koha/members/patronimage.pl?borrowernumber=[% patron.borrowernumber | uri %]" class="patronimage" alt="[% patron.firstname | html %] [% patron.surname | html %] ([% patron.cardnumber | html %])" /> |
| 10 |
<div class="patronimage-controls"> |
| 11 |
<div class="patronimage-control"><a data-borrowernumber="[% patron.borrowernumber | uri %]" class="btn btn-default btn-sm edit-patronimage" title="Edit patron image" href="#"><i class="fa fa-pencil"></i> Edit</a></div> |
| 12 |
</div> |
| 13 |
[% ELSE %] |
| 14 |
<div class="patronimage empty"></div> |
| 15 |
<div class="patronimage-controls"> |
| 16 |
<div class="patronimage-control"><a data-borrowernumber="[% patron.borrowernumber | uri %]" class="btn btn-default btn-sm edit-patronimage" title="Add patron image" href="#"><i class="fa fa-plus"></i> Add</a></div> |
| 17 |
</div> |
| 18 |
[% END %] |
| 19 |
</div> |
| 20 |
</div> |
| 21 |
[% END %] |
| 22 |
|
| 8 |
<ul class="patronbriefinfo"> |
23 |
<ul class="patronbriefinfo"> |
| 9 |
[% IF ( patronimages ) %] |
|
|
| 10 |
[% IF ( patron.image ) %] |
| 11 |
<li> |
| 12 |
<img src="/cgi-bin/koha/members/patronimage.pl?borrowernumber=[% patron.borrowernumber | uri %]" id="patronimage" alt="[% patron.firstname | html %] [% patron.surname | html %] ([% patron.cardnumber | html %])" /> |
| 13 |
</li> |
| 14 |
[% ELSE %] |
| 15 |
<li id="patronbasics"> |
| 16 |
<div></div> |
| 17 |
</li> |
| 18 |
[% END %] |
| 19 |
[% END %] |
| 20 |
[% IF Koha.Preference( 'AddressFormat' ) %] |
24 |
[% IF Koha.Preference( 'AddressFormat' ) %] |
| 21 |
[% INCLUDE "member-display-address-style-${ Koha.Preference( 'AddressFormat' ) }.inc" %] |
25 |
[% INCLUDE "member-display-address-style-${ Koha.Preference( 'AddressFormat' ) }.inc" %] |
| 22 |
[% ELSE %] |
26 |
[% ELSE %] |
|
Link Here
|
| 122 |
<li><a href="/cgi-bin/koha/ill/ill-requests.pl?borrowernumber=[% patron.borrowernumber %]">Interlibrary loans</a></li> |
126 |
<li><a href="/cgi-bin/koha/ill/ill-requests.pl?borrowernumber=[% patron.borrowernumber %]">Interlibrary loans</a></li> |
| 123 |
[% END %] |
127 |
[% END %] |
| 124 |
</ul></div> |
128 |
</ul></div> |
|
|
129 |
|
| 130 |
<!-- Modal --> |
| 131 |
<div class="modal" id="patronImageEdit" tabindex="-1" role="dialog" aria-labelledby="patronImageEditLabel"> |
| 132 |
<div class="modal-dialog" role="document"> |
| 133 |
<div class="modal-content"> |
| 134 |
<div class="modal-header"> |
| 135 |
<button type="button" class="closebtn" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button> |
| 136 |
<h4 class="modal-title" id="patronImageEditLabel">Modal title</h4> |
| 137 |
</div> |
| 138 |
<div class="modal-body"> |
| 139 |
<img src="[% interface %]/[% theme %]/img/spinner-small.gif" alt="" /> |
| 140 |
</div> |
| 141 |
<div class="modal-footer"> |
| 142 |
<button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button> |
| 143 |
</div> |
| 144 |
</div> |
| 145 |
</div> |
| 146 |
</div> |
| 147 |
|
| 125 |
[% END %] |
148 |
[% END %] |