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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/member-display-altv-address-style-de.inc (+9 lines)
Line 0 Link Here
1
[% IF ( patron.altcontactaddress1 or patron.altcontactaddress2 ) %]
2
      <li class="altcontactname">[% patron.altcontactfirstname | html %] [% patron.altcontactsurname | html %][% end | html %] </li>
3
      <li class="altcontactaddress1">[% if (patron.altcontactaddress1) | html %][% patron.altcontactaddress1 | html %][% end | html %] </li>
4
      <li class="altcontactaddress2">[% if (patron.altcontactaddress2) | html %][% patron.altcontactaddress2 | html %][% end | html %] </li>
5
[% END %]
6
[% IF ( patron.altcontactzipcode ) %]<li class="altcontactzipcode"> [% patron.altcontactzipcode | html %] [% IF ( patron.altcontactaddress3 ) %][% patron.altcontactaddress3 %][% END %]</li>
7
[% IF ( patron.altcontactstate ) %]<li clas="altcontactaddress3"> [% patron.altcontactstate | html %] [% END %]</li>
8
[% IF ( patron.altcontactcountry ) %] <li class="altcontactcountry"> [% patron.altcontactcountry | html %][% END %]</li>
9
[% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/member-display-altv-address-style-fr.inc (+9 lines)
Line 0 Link Here
1
[% IF ( patron.altcontactaddress1 or patron.altcontactaddress2 ) %]
2
      <li class="altcontactname">[% patron.altcontactfirstname | html %] [% patron.altcontactsurname | html %][% end | html %] </li>
3
      <li class="altcontactaddress1">[% if (patron.altcontactaddress1) | html %][% patron.altcontactaddress1 | html %][% end | html %] </li>
4
      <li class="altcontactaddress2">[% if (patron.altcontactaddress2) | html %][% patron.altcontactaddress2 | html %][% end | html %] </li>
5
[% END %]
6
[% IF ( patron.altcontactzipcode ) %]<li class="altcontactzipcode"> [% patron.altcontactzipcode | html %] [% IF ( patron.altcontactaddress3 ) %][% patron.altcontactaddress3 %][% END %]</li>
7
[% IF ( patron.altcontactstate ) %]<li clas="altcontactaddress3"> [% patron.altcontactstate | html %] [% END %]</li>
8
[% IF ( patron.altcontactcountry ) %] <li class="altcontactcountry"> [% patron.altcontactcountry | html %][% END %]</li>
9
[% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/member-display-altv-address-style-us.inc (+11 lines)
Line 0 Link Here
1
[% IF ( patron.altcontactaddress1 or patron.altcontactaddress2 ) %]
2
      <li class="altcontactname">[% patron.altcontactfirstname | html %] [% patron.altcontactsurname | html %][% end | html %] </li>
3
      <li class="altcontactaddress1">[% if (patron.altcontactaddress1) | html %][% patron.altcontactaddress1 | html %][% end | html %] </li>
4
      <li class="altcontactaddress2">[% if (patron.altcontactaddress2) | html %][% patron.altcontactaddress2 | html %][% end | html %] </li>
5
[% END %]
6
<li class="altcontactaddress3">
7
[% IF ( patron.altcontactaddress3 ) %][% patron.altcontactaddress3 | html %], [% END %]
8
[% IF ( patron.altcontactstate ) %] [% patron.altcontactstate | html %],[% END %]
9
[% IF ( patron.altcontactzipcode ) %] [% patron.altcontactzipcode | html %],[% END %]
10
[% IF ( patron.altcontactcountry ) %] [% patron.altcontactcountry | html %][% END %]
11
</li>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt (-52 / +11 lines)
Lines 634-698 Link Here
634
                                        <h3>Alternative contact</h3>
634
                                        <h3>Alternative contact</h3>
635
                                        <a class="btn btn-default btn-xs" href="memberentry.pl?op=modify&amp;borrowernumber=[% patron.borrowernumber | html %]&amp;step=2"><i class="fa fa-pencil"></i> Edit</a>
635
                                        <a class="btn btn-default btn-xs" href="memberentry.pl?op=modify&amp;borrowernumber=[% patron.borrowernumber | html %]&amp;step=2"><i class="fa fa-pencil"></i> Edit</a>
636
                                    </div>
636
                                    </div>
637
                                <div class="address">
638
                                        <ul>
639
                                            [% IF Koha.Preference( 'AddressFormat' ) %]
640
                                                [% INCLUDE "member-display-altv-address-style-${ Koha.Preference( 'AddressFormat' ) }.inc" %]
641
                                            [% ELSE %]
642
                                                [% INCLUDE 'member-display-altv-address-style-us.inc' %]
643
                                            [% END %]
644
                                        </ul>
645
                                    </div>
637
                                    <div class="rows">
646
                                    <div class="rows">
638
                                        <ol>
647
                                        <ol>
639
                                            [% IF ( patron.altcontactsurname ) %]
640
                                                <li id="patron-altcontactsurname">
641
                                                    <span class="label">Surname: </span>
642
                                                    [% patron.altcontactsurname | html %]
643
                                                </li>
644
                                            [% END %]
645
                                            [% IF ( patron.altcontactfirstname ) %]
646
                                                <li id="patron-altcontactfirstname">
647
                                                    <span class="label">First name: </span>
648
                                                    [% patron.altcontactfirstname | html %]
649
                                                </li>
650
                                            [% END %]
651
                                            [% IF ( patron.altcontactaddress1 ) %]
652
                                                <li id="patron-altcontactaddress1">
653
                                                    <span class="label">Address: </span>
654
                                                    [% patron.altcontactaddress1 | html %]
655
                                                </li>
656
                                            [% END %]
657
                                            [% IF ( patron.altcontactaddress2 ) %]
658
                                                <li id="patron-altcontactaddress2">
659
                                                    <span class="label">Address 2: </span>
660
                                                    [% patron.altcontactaddress2 | html %]
661
                                                </li>
662
                                            [% END %]
663
                                            [% IF ( patron.altcontactaddress3 ) %]
664
                                                <li id="patron-altcontactaddress3">
665
                                                    <span class="label">City: </span>
666
                                                    [% patron.altcontactaddress3 | html %]
667
                                                </li>
668
                                            [% END %]
669
670
                                            [% IF ( patron.altcontactstate ) %]
671
                                                <li id="patron-altcontactstate">
672
                                                    <span class="label">State: </span>
673
                                                    [% patron.altcontactstate | html %]
674
                                                </li>
675
                                            [% END %]
676
                                            [% IF ( patron.altcontactzipcode ) %]
677
                                                <li id="patron-altcontactzipcode">
678
                                                    <span class="label">ZIP/Postal code: </span>
679
                                                    [% patron.altcontactzipcode | html %]
680
                                                </li>
681
                                            [% END %]
682
                                            [% IF ( patron.altcontactcountry ) %]
683
                                                <li id="patron-altcontactcountry">
684
                                                    <span class="label">Country: </span>
685
                                                    [% patron.altcontactcountry | html %]
686
                                                </li>
687
                                            [% END %]
688
                                            [% IF ( patron.altcontactphone ) %]
648
                                            [% IF ( patron.altcontactphone ) %]
689
                                                <li id="patron-altcontactphone">
649
                                                <li id="patron-altcontactphone">
690
                                                    <span class="label">Phone: </span>
650
                                                    <span class="label">Phone: </span>
691
                                                    <a href="tel:[% patron.altcontactphone | url %]">[% patron.altcontactphone | html %]</a>
651
                                                    <a href="tel:[% patron.altcontactphone | uri %]">[% patron.altcontactphone |html  %]</a>
692
                                                </li>
652
                                                </li>
693
                                            [% END %]
653
                                            [% END %]
694
                                        </ol>
654
                                        </ol>
695
                                    </div> [% # /div.rows %]
655
                                    </div>
696
                                [% ELSE %]
656
                                [% ELSE %]
697
                                    <div class="patroninfo-heading">
657
                                    <div class="patroninfo-heading">
698
                                        <h3>Alternative contact</h3>
658
                                        <h3>Alternative contact</h3>
699
- 

Return to bug 25463