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('HidePersonalPatronDetailOnCirculation')) %] |
24 |
[% IF !(Koha.Preference('HidePersonalPatronDetailOnCirculation')) %] |
21 |
[% IF Koha.Preference( 'AddressFormat' ) %] |
25 |
[% IF Koha.Preference( 'AddressFormat' ) %] |
22 |
[% INCLUDE "member-display-address-style-${ Koha.Preference( 'AddressFormat' ) }.inc" %] |
26 |
[% INCLUDE "member-display-address-style-${ Koha.Preference( 'AddressFormat' ) }.inc" %] |
Link Here
|
124 |
<li><a href="/cgi-bin/koha/ill/ill-requests.pl?borrowernumber=[% patron.borrowernumber %]">Interlibrary loans</a></li> |
128 |
<li><a href="/cgi-bin/koha/ill/ill-requests.pl?borrowernumber=[% patron.borrowernumber %]">Interlibrary loans</a></li> |
125 |
[% END %] |
129 |
[% END %] |
126 |
</ul></div> |
130 |
</ul></div> |
|
|
131 |
|
132 |
<!-- Modal --> |
133 |
<div class="modal" id="patronImageEdit" tabindex="-1" role="dialog" aria-labelledby="patronImageEditLabel"> |
134 |
<div class="modal-dialog" role="document"> |
135 |
<div class="modal-content"> |
136 |
<div class="modal-header"> |
137 |
<button type="button" class="closebtn" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button> |
138 |
<h4 class="modal-title" id="patronImageEditLabel">Modal title</h4> |
139 |
</div> |
140 |
<div class="modal-body"> |
141 |
<img src="[% interface %]/[% theme %]/img/spinner-small.gif" alt="" /> |
142 |
</div> |
143 |
<div class="modal-footer"> |
144 |
<button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button> |
145 |
</div> |
146 |
</div> |
147 |
</div> |
148 |
</div> |
149 |
|
127 |
[% END %] |
150 |
[% END %] |