View | Details | Raw Unified | Return to bug 10760
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/member-display-alt-address-style-de.inc (+16 lines)
Line 0 Link Here
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">[% B_address %][%IF roadtype_desc %] [% roadtype_desc %][% END %][% IF B_streetnumber %] [% B_streetnumber %][% END %]</li>
8
    [% END %]
9
    [% IF ( B_address2 ) %]
10
        <li class="patronaddress2">[% B_address2 %]</li>
11
    [% END %]
12
[% END %]
13
[% IF ( B_city ) %]<li class="patroncity">
14
    [%IF ( B_zipcode ) %][% B_zipcode %] [% END %][% B_city %][% IF ( B_state ) %]</br>[% B_state %][% END %]
15
    [% IF ( B_country ) %]<br />[% B_country %][% END %]</li>
16
[% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/member-display-alt-address-style-us.inc (+16 lines)
Line 0 Link Here
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 %][% end %] [% IF roadtype_desc %][% roadtype_desc %] [% END %][% B_address %][% end %]</li>
8
    [% END %]
9
    [% IF ( B_address2 ) %]
10
        <li class="patronaddress2">[% B_address2 %]</li>
11
    [% END %]
12
[% END %]
13
[% IF ( B_city ) %]<li class="patroncity">
14
        [% B_city %][% IF ( B_state ) %], [% B_state %][% END %]
15
        [% B_zipcode %][% IF ( B_country ) %], [% B_country %][% END %]</li>
16
[% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt (-7 / +8 lines)
Lines 414-425 function validate1(date) { Link Here
414
    [% UNLESS ( I ) %]
414
    [% UNLESS ( I ) %]
415
 <div id="patron-alternate-address" style="padding-top: 1em;">
415
 <div id="patron-alternate-address" style="padding-top: 1em;">
416
    <h3>Alternate address</h3>
416
    <h3>Alternate address</h3>
417
    <div class="rows">  <ol><li><span class="label">Address: </span>[% B_address %]</li>
417
418
      <li><span class="label">Address 2: </span>[% B_address2 %]</li>
418
    [% IF Koha.Preference( 'AddressFormat' ) %]
419
      <li><span class="label">City: </span>[% B_city %]</li>
419
        [% INCLUDE "member-display-alt-address-style-${ Koha.Preference( 'AddressFormat' ) }.inc" %]
420
      [% IF ( B_state ) %]<li><span class="label">State: </span>[% B_state %]</li>[% END %]
420
    [% ELSE %]
421
      <li><span class="label">ZIP/Postal code: </span>[% B_zipcode %]</li>
421
        [% INCLUDE 'member-display-alt-address-style-us.inc' %]
422
      [% IF ( B_country ) %]<li><span class="label">Country: </span>[% B_country %]</li>[% END %]
422
    [% END %]
423
424
    <div class="rows">  <ol>
423
      [% IF ( B_phone ) %]<li><span class="label">Phone: </span><a href="tel:[% B_phone %]">[% B_phone %]</a></li>[% END %]
425
      [% IF ( B_phone ) %]<li><span class="label">Phone: </span><a href="tel:[% B_phone %]">[% B_phone %]</a></li>[% END %]
424
      [% IF ( B_email ) %]<li class="email"><span class="label">Email: </span><a title="[% B_email %]" href="mailto:[% B_email %]">[% B_email %]</a></li>[% END %]
426
      [% IF ( B_email ) %]<li class="email"><span class="label">Email: </span><a title="[% B_email %]" href="mailto:[% B_email %]">[% B_email %]</a></li>[% END %]
425
      [% IF ( contactnote ) %]<li><span class="label">Contact note: </span> [% contactnote %]</li>[% END %]
427
      [% IF ( contactnote ) %]<li><span class="label">Contact note: </span> [% contactnote %]</li>[% END %]
426
- 

Return to bug 10760