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 ) %]
11 <li><img src="/cgi-bin/koha/members/patronimage.pl?borrowernumber=[% borrowernumber | uri %]" id="patronimage" alt="[% firstname %] [% surname %] ([% cardnumber %])" style="max-width : 140px; margin: .3em 0 .3em .3em; padding: .2em; border: 1px solid #CCCCCC; width:auto !important; width:130px;" /></li>
13 <li id="patronbasics"><img src="[% interface %]/[% theme %]/img/patron-blank.png" alt="[% firstname %] [% surname %] ([% cardnumber %])" style="margin: .3em 0 .3em .3em; padding: .2em; border: 1px solid #CCCCCC;" /></li>
16 [% IF Koha.Preference( 'AddressFormat' ) %]
17 [% INCLUDE "member-display-address-style-${ Koha.Preference( 'AddressFormat' ) }.inc" %]
19 [% INCLUDE 'member-display-address-style-us.inc' %]
22 [% IF ( phone ) %]<li class="patronphone">
23 <a href="tel:[% phone %]">[% phone %]</a>
26 <a href="tel:[% mobile %]">[% mobile %]</a>
29 <a href="tel:[% phonepro %]">[% phonepro %]</a>
34 <li class="email"> <a href="mailto:[% email %]" title="[% email %]">[% email %]</a></li>
37 <li class="email"> <a href="mailto:[% emailpro %]" title="[% emailpro %]">[% emailpro %]</a></li>
41 [% UNLESS ( address or address2 ) %]
42 <li><span class="empty" id="noaddressstored">No address stored.</span></li>
45 <li><span class="empty" id="nocitystored">No city stored.</span></li>
47 [% UNLESS ( phone or mobile or phonepro) %]
48 <li> <span class="empty">No phone stored.</span></li>
50 [% UNLESS ( email or emailpro) %]
51 <li> <span class="empty">No email stored.</span></li>
54 [% IF ( ExtendedPatronAttributes ) %][% FOREACH extendedattribute IN extendedattributes %]
55 [% IF ( extendedattribute.display_checkout ) %]
56 [% IF ( extendedattribute.value ) %]
57 <li class="patronattribute"><span class="patronattributelabel">[% extendedattribute.description %]</span> : [% IF ( extendedattribute.value_description ) %][% extendedattribute.value_description %][% ELSE %][% extendedattribute.value %][% END %]</li>
61 <li class="patroncategory">Category: [% categoryname %] ([% categorycode %])</li>
62 <li class="patronlibrary">Home library: [% Branches.GetName( branchcode ) %]</li>
66 [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
67 [% IF ( circview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% borrowernumber %]">Check out</a></li>
68 [% IF Koha.Preference('BatchCheckouts') &&
69 Koha.Preference('BatchCheckoutsValidCategories').split('\|').grep('^' _ categorycode _ '$').size > 0 %]
70 [% 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>
73 [% IF ( CAN_user_borrowers ) %]
74 [% IF ( detailview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber %]">Details</a></li>
76 [% IF ( CAN_user_updatecharges ) %]
77 [% IF ( finesview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/pay.pl?borrowernumber=[% borrowernumber %]">Fines</a></li>
79 [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
80 [% 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 %]
82 [% IF ( CAN_user_borrowers ) %]
83 [% IF ( intranetreadinghistory ) %]
84 [% IF ( readingrecordview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/readingrec.pl?borrowernumber=[% borrowernumber %]">Circulation history</a></li>
87 [% IF ( CAN_user_parameters ) %]
88 [% 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>
90 [% IF ( CAN_user_borrowers ) %]
91 [% IF ( sentnotices ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/notices.pl?borrowernumber=[% borrowernumber %]">Notices</a></li>
93 [% IF ( CAN_user_borrowers ) %]
94 [% IF ( statisticsview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/statistics.pl?borrowernumber=[% borrowernumber %]">Statistics</a></li>
96 [% IF ( CAN_user_borrowers ) %]
97 [% IF ( EnableBorrowerFiles ) %]
98 [% IF ( borrower_files ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/files.pl?borrowernumber=[% borrowernumber %]">Files</a></li>
102 [% IF ( CAN_user_borrowers ) %]
103 [% IF ( suggestionsview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/purchase-suggestions.pl?borrowernumber=[% borrowernumber %]">Purchase suggestions</a></li>
105 [% IF CAN_user_borrowers && useDischarge %]
106 [% IF dischargeview %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/discharge.pl?borrowernumber=[% borrowernumber %]">Discharges</a></li>