2 [% IF ( patron.borrowernumber ) %]
3 <div class="patroninfo"><h5>[% INCLUDE 'patron-title.inc' %]</h5>
5 <style type="tex/css">img { width: expression(this.width > 140 ? 140: true);
8 <ul class="patronbriefinfo">
9 [% IF ( patronimages ) %]
10 [% IF ( patron.image ) %]
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 %])" />
15 <li id="patronbasics">
20 [% IF Koha.Preference( 'AddressFormat' ) %]
21 [% INCLUDE "member-display-address-style-${ Koha.Preference( 'AddressFormat' ) }.inc" %]
23 [% INCLUDE 'member-display-address-style-us.inc' %]
26 [% IF ( patron.phone || patron.mobile || patron.phonepro ) %]<li class="patronphone">
27 [% IF ( patron.phone ) %]
28 <a href="tel:[% patron.phone | url %]">[% patron.phone | html %]</a>
30 [% IF ( patron.mobile ) %]
31 <a href="tel:[% patron.mobile | url %]">[% patron.mobile | html %]</a>
33 [% IF ( patron.phonepro ) %]
34 <a href="tel:[% patron.phonepro | url %]">[% patron.phonepro | html %]</a>
37 [% END %]</li>[% END %]
38 [% IF ( patron.email ) %]
39 <li class="email"> <a href="mailto:[% patron.email | url %]" title="[% patron.email | html %]">[% patron.email | html %]</a></li>
41 [% IF ( patron.emailpro ) %]
42 <li class="email"> <a href="mailto:[% patron.emailpro | url %]" title="[% patron.emailpro | html %]">[% patron.emailpro | html %]</a></li>
46 [% UNLESS ( patron.address or patron.address2 ) %]
47 <li><span class="empty" id="noaddressstored">No address stored.</span></li>
49 [% UNLESS ( patron.city ) %]
50 <li><span class="empty" id="nocitystored">No city stored.</span></li>
52 [% UNLESS ( patron.phone or patron.mobile or patron.phonepro) %]
53 <li> <span class="empty">No phone stored.</span></li>
55 [% UNLESS ( patron.email or patron.emailpro) %]
56 <li> <span class="empty">No email stored.</span></li>
59 [% IF ( ExtendedPatronAttributes ) %][% FOREACH extendedattribute IN extendedattributes %]
60 [% IF ( extendedattribute.display_checkout ) %]
61 [% IF ( extendedattribute.value ) %]
62 <li class="patronattribute"><span class="patronattributelabel">[% extendedattribute.description %]</span> : [% IF ( extendedattribute.value_description ) %][% extendedattribute.value_description %][% ELSE %][% extendedattribute.value %][% END %]</li>
66 <li class="patroncategory">Category: [% patron.category.description %] ([% patron.categorycode %])</li>
67 <li class="patronlibrary">Home library: [% Branches.GetName( patron.branchcode ) %]</li>
71 [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
72 [% IF ( circview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% patron.borrowernumber %]">Check out</a></li>
73 [% IF Koha.Preference('BatchCheckouts') && Koha.Preference('BatchCheckoutsValidCategories').split('\|').grep('^' _ patron.categorycode _ '$').size > 0 %]
74 [% IF ( batch_checkout_view ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% patron.borrowernumber %]&batch=1">Batch check out</a></li>
77 [% IF CAN_user_borrowers_edit_borrowers %]
78 [% IF ( detailview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% patron.borrowernumber %]">Details</a></li>
80 [% IF ( CAN_user_updatecharges ) %]
81 [% IF ( finesview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/pay.pl?borrowernumber=[% patron.borrowernumber %]">Fines</a></li>
83 [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
84 [% IF Koha.Preference("RoutingSerials") %][% IF ( routinglistview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/routing-lists.pl?borrowernumber=[% patron.borrowernumber %]">Routing lists</a></li>[% END %]
86 [% IF CAN_user_borrowers_edit_borrowers %]
87 [% IF ( intranetreadinghistory ) %]
88 [% IF ( readingrecordview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/readingrec.pl?borrowernumber=[% patron.borrowernumber %]">Circulation history</a></li>
91 [% IF CAN_user_borrowers_edit_borrowers %]
92 [% IF ( intranetreadinghistory ) %]
93 [% IF ( holdshistoryview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/holdshistory.pl?borrowernumber=[% patron.borrowernumber %]">Holds history</a></li>
96 [% IF ( CAN_user_parameters ) %]
97 [% IF ( logview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/tools/viewlog.pl?do_it=1&modules=MEMBERS&modules=circulation&object=[% patron.borrowernumber %]&src=circ">Modification log</a></li>
99 [% IF CAN_user_borrowers_edit_borrowers %]
100 [% IF ( sentnotices ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/notices.pl?borrowernumber=[% patron.borrowernumber %]">Notices</a></li>
102 [% IF CAN_user_borrowers_edit_borrowers %]
103 [% IF ( statisticsview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/statistics.pl?borrowernumber=[% patron.borrowernumber %]">Statistics</a></li>
105 [% IF CAN_user_borrowers_edit_borrowers %]
106 [% IF ( EnableBorrowerFiles ) %]
107 [% IF ( borrower_files ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/files.pl?borrowernumber=[% patron.borrowernumber %]">Files</a></li>
111 [% IF CAN_user_borrowers_edit_borrowers %]
112 [% IF ( suggestionsview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/purchase-suggestions.pl?borrowernumber=[% patron.borrowernumber %]">Purchase suggestions</a></li>
114 [% IF CAN_user_borrowers_edit_borrowers && useDischarge %]
115 [% IF dischargeview %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/discharge.pl?borrowernumber=[% patron.borrowernumber %]">Discharges</a></li>
117 [% IF Koha.Preference('HouseboundModule') %]
118 [% IF houseboundview %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/housebound.pl?borrowernumber=[% patron.borrowernumber %]">Housebound</a></li>
120 [% IF Koha.Preference('ILLModule') %]
121 <li><a href="/cgi-bin/koha/ill/ill-requests.pl?borrowernumber=[% patron.borrowernumber %]">Interlibrary loans</a></li>