2 [% IF ( 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 ) %]
12 <img src="/cgi-bin/koha/members/patronimage.pl?borrowernumber=[% borrowernumber | uri %]" id="patronimage" alt="[% firstname | html %] [% surname | html %] ([% 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 ( phone ) %]<li class="patronphone">
27 <a href="tel:[% phone | url %]">[% phone | html %]</a>
30 <a href="tel:[% mobile | url %]">[% mobile | html %]</a>
33 <a href="tel:[% phonepro | url %]">[% phonepro | html %]</a>
38 <li class="email"> <a href="mailto:[% email | url %]" title="[% email | html %]">[% email | html %]</a></li>
41 <li class="email"> <a href="mailto:[% emailpro | url %]" title="[% emailpro | html %]">[% emailpro | html %]</a></li>
45 [% UNLESS ( address or address2 ) %]
46 <li><span class="empty" id="noaddressstored">No address stored.</span></li>
49 <li><span class="empty" id="nocitystored">No city stored.</span></li>
51 [% UNLESS ( phone or mobile or phonepro) %]
52 <li> <span class="empty">No phone stored.</span></li>
54 [% UNLESS ( email or emailpro) %]
55 <li> <span class="empty">No email stored.</span></li>
58 [% IF ( ExtendedPatronAttributes ) %][% FOREACH extendedattribute IN extendedattributes %]
59 [% IF ( extendedattribute.display_checkout ) %]
60 [% IF ( extendedattribute.value ) %]
61 <li class="patronattribute"><span class="patronattributelabel">[% extendedattribute.description %]</span> : [% IF ( extendedattribute.value_description ) %][% extendedattribute.value_description %][% ELSE %][% extendedattribute.value %][% END %]</li>
65 <li class="patroncategory">Category: [% categoryname %] ([% categorycode %])</li>
66 <li class="patronlibrary">Home library: [% Branches.GetName( branchcode ) %]</li>
70 [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
71 [% IF ( circview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% borrowernumber %]">Check out</a></li>
72 [% IF Koha.Preference('BatchCheckouts') &&
73 Koha.Preference('BatchCheckoutsValidCategories').split('\|').grep('^' _ categorycode _ '$').size > 0 %]
74 [% IF ( batch_checkout_view ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% borrowernumber %]&batch=1">Batch check out</a></li>
77 [% IF ( CAN_user_borrowers ) %]
78 [% IF ( detailview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% 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=[% borrowernumber %]">Fines</a></li>
83 [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
84 [% IF ( RoutingSerials ) %][% IF ( routinglistview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/routing-lists.pl?borrowernumber=[% borrowernumber %]">Routing lists</a></li>[% END %]
86 [% IF ( CAN_user_borrowers ) %]
87 [% IF ( intranetreadinghistory ) %]
88 [% IF ( readingrecordview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/readingrec.pl?borrowernumber=[% borrowernumber %]">Circulation history</a></li>
91 [% IF ( CAN_user_parameters ) %]
92 [% IF ( logview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/tools/viewlog.pl?do_it=1&modules=MEMBERS&modules=circulation&object=[% borrowernumber %]&src=circ">Modification log</a></li>
94 [% IF ( CAN_user_borrowers ) %]
95 [% IF ( sentnotices ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/notices.pl?borrowernumber=[% borrowernumber %]">Notices</a></li>
97 [% IF ( CAN_user_borrowers ) %]
98 [% IF ( statisticsview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/statistics.pl?borrowernumber=[% borrowernumber %]">Statistics</a></li>
100 [% IF ( CAN_user_borrowers ) %]
101 [% IF ( EnableBorrowerFiles ) %]
102 [% IF ( borrower_files ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/files.pl?borrowernumber=[% borrowernumber %]">Files</a></li>
106 [% IF ( CAN_user_borrowers ) %]
107 [% IF ( suggestionsview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/purchase-suggestions.pl?borrowernumber=[% borrowernumber %]">Purchase suggestions</a></li>
109 [% IF CAN_user_borrowers && useDischarge %]
110 [% IF dischargeview %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/discharge.pl?borrowernumber=[% borrowernumber %]">Discharges</a></li>
112 [% IF Koha.Preference('HouseboundModule') %]
113 [% IF houseboundview %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/housebound.pl?borrowernumber=[% borrowernumber %]">Housebound</a></li>