Link Here
|
2 |
[% USE KohaDates %] |
2 |
[% USE KohaDates %] |
3 |
[% IF ( patron.borrowernumber ) %] |
3 |
[% IF ( patron.borrowernumber ) %] |
4 |
<div class="patroninfo"><h5>[% INCLUDE 'patron-title.inc' %]</h5> |
4 |
<div class="patroninfo"><h5>[% INCLUDE 'patron-title.inc' %]</h5> |
|
|
5 |
|
5 |
<input type="hidden" id="hiddenborrowernumber" value="[% patron.borrowernumber | html %]"> |
6 |
<input type="hidden" id="hiddenborrowernumber" value="[% patron.borrowernumber | html %]"> |
6 |
<input type="hidden" id="hiddenborrowername" value="[% patron.surname | html %] [% patron.firstname | html %]"> |
7 |
<input type="hidden" id="hiddenborrowername" value="[% patron.surname | html %] [% patron.firstname | html %]"> |
7 |
<input type="hidden" id="hiddenborrowercard" value="[% patron.cardnumber | html %]"> |
8 |
<input type="hidden" id="hiddenborrowercard" value="[% patron.cardnumber | html %]"> |
8 |
<!--[if IE 6]> |
9 |
|
9 |
<style type="tex/css">img { width: expression(this.width > 140 ? 140: true); |
10 |
[% IF ( patronimages ) %] |
10 |
}</style> |
11 |
<div> |
11 |
<![endif]--> |
12 |
<div class="patronimage-container"> |
|
|
13 |
[% IF ( patron.image ) %] |
14 |
<img src="/cgi-bin/koha/members/patronimage.pl?borrowernumber=[% patron.borrowernumber | uri %]" class="patronimage" alt="[% patron.firstname | html %] [% patron.surname | html %] ([% patron.cardnumber | html %])" /> |
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="Edit patron image" href="#"><i class="fa fa-pencil"></i> Edit</a></div> |
17 |
</div> |
18 |
[% ELSE %] |
19 |
<div class="patronimage empty"></div> |
20 |
<div class="patronimage-controls"> |
21 |
<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> |
22 |
</div> |
23 |
[% END %] |
24 |
</div> |
25 |
</div> |
26 |
[% END %] |
27 |
|
12 |
<ul class="patronbriefinfo"> |
28 |
<ul class="patronbriefinfo"> |
13 |
[% IF ( patronimages ) %] |
|
|
14 |
[% IF ( patron.image ) %] |
15 |
<li> |
16 |
<img src="/cgi-bin/koha/members/patronimage.pl?borrowernumber=[% patron.borrowernumber | uri %]" id="patronimage" alt="[% patron.firstname | html %] [% patron.surname | html %] ([% patron.cardnumber | html %])" /> |
17 |
</li> |
18 |
[% ELSE %] |
19 |
<li id="patronbasics"> |
20 |
<div></div> |
21 |
</li> |
22 |
[% END %] |
23 |
[% END %] |
24 |
[% IF !(Koha.Preference('HidePersonalPatronDetailOnCirculation')) %] |
29 |
[% IF !(Koha.Preference('HidePersonalPatronDetailOnCirculation')) %] |
25 |
[% SWITCH Koha.Preference( 'AddressFormat' ) %] |
30 |
[% SWITCH Koha.Preference( 'AddressFormat' ) %] |
26 |
[% CASE 'de' %] |
31 |
[% CASE 'de' %] |
Link Here
|
130 |
<li><a href="/cgi-bin/koha/ill/ill-requests.pl?borrowernumber=[% patron.borrowernumber | uri %]">Interlibrary loans</a></li> |
135 |
<li><a href="/cgi-bin/koha/ill/ill-requests.pl?borrowernumber=[% patron.borrowernumber | uri %]">Interlibrary loans</a></li> |
131 |
[% END %] |
136 |
[% END %] |
132 |
</ul></div> |
137 |
</ul></div> |
|
|
138 |
|
139 |
<!-- Modal --> |
140 |
<div class="modal" id="patronImageEdit" tabindex="-1" role="dialog" aria-labelledby="patronImageEditLabel"> |
141 |
<div class="modal-dialog" role="document"> |
142 |
<div class="modal-content"> |
143 |
<div class="modal-header"> |
144 |
<button type="button" class="closebtn" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button> |
145 |
<h4 class="modal-title" id="patronImageEditLabel">Modal title</h4> |
146 |
</div> |
147 |
<div class="modal-body"> |
148 |
<img src="[% interface %]/[% theme %]/img/spinner-small.gif" alt="" /> |
149 |
</div> |
150 |
<div class="modal-footer"> |
151 |
<button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button> |
152 |
</div> |
153 |
</div> |
154 |
</div> |
155 |
</div> |
156 |
|
133 |
[% END %] |
157 |
[% END %] |