Bug 19987: If no z39.50/SRU servers the button should not show
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / includes / member-display-alt-address-style-us.inc
1 [% IF ( B_address or B_address2 ) %]
2     [% IF ( B_address ) %]
3         [% SET roadtype_desc = '' %]
4         [% IF B_streettype %]
5             [% SET roadtype_desc = AuthorisedValues.GetByCode('ROADTYPE', B_streettype) %]
6         [% END %]
7         <li class="patronaddress1">[% if (B_streetnumber) %][% B_streetnumber |html %][% end %] [% B_address |html %] [% IF roadtype_desc %][% roadtype_desc |html %] [% END %][% end %]</li>
8     [% END %]
9     [% IF ( B_address2 ) %]
10         <li class="patronaddress2">[% B_address2 |html %]</li>
11     [% END %]
12 [% END %]
13 [% IF ( B_city ) %]<li class="patroncity">
14         [% B_city |html %][% IF ( B_state ) %], [% B_state |html %][% END %]
15         [% B_zipcode |html %][% IF ( B_country ) %], [% B_country |html %][% END %]</li>
16 [% END %]