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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt (-25 / +36 lines)
Lines 565-599 Link Here
565
565
566
                                                <select id="borrower_primary_contact_method" name="borrower_primary_contact_method">
566
                                                <select id="borrower_primary_contact_method" name="borrower_primary_contact_method">
567
                                                    <option value=""></option>
567
                                                    <option value=""></option>
568
                                                    [% IF ( borrower.primary_contact_method == 'phone' ) %]
568
                                                    [% UNLESS hidden.defined('phone') %]
569
                                                        <option value="phone" selected="selected">Primary phone</option>
569
                                                        [% IF ( borrower.primary_contact_method == 'phone' ) %]
570
                                                    [% ELSE %]
570
                                                            <option value="phone" selected="selected">Primary phone</option>
571
                                                        <option value="phone">Primary phone</option>
571
                                                        [% ELSE %]
572
                                                            <option value="phone">Primary phone</option>
573
                                                        [% END %]
572
                                                    [% END %]
574
                                                    [% END %]
573
                                                    [% IF ( borrower.primary_contact_method == 'phonepro' ) %]
575
                                                    [% UNLESS hidden.defined('phonepro') %]
574
                                                        <option value="phonepro" selected="selected">Secondary phone</option>
576
                                                        [% IF ( borrower.primary_contact_method == 'phonepro' ) %]
575
                                                    [% ELSE %]
577
                                                            <option value="phonepro" selected="selected">Secondary phone</option>
576
                                                        <option value="phonepro">Secondary phone</option>
578
                                                        [% ELSE %]
579
                                                            <option value="phonepro">Secondary phone</option>
580
                                                        [% END %]
577
                                                    [% END %]
581
                                                    [% END %]
578
                                                    [% IF ( borrower.primary_contact_method == 'mobile' ) %]
582
                                                    [% UNLESS hidden.defined('mobile') %]
579
                                                        <option value="mobile" selected="selected">Other phone</option>
583
                                                        [% IF ( borrower.primary_contact_method == 'mobile' ) %]
580
                                                    [% ELSE %]
584
                                                            <option value="mobile" selected="selected">Other phone</option>
581
                                                        <option value="mobile">Other phone</option>
585
                                                        [% ELSE %]
586
                                                            <option value="mobile">Other phone</option>
587
                                                        [% END %]
582
                                                    [% END %]
588
                                                    [% END %]
583
                                                    [% IF ( borrower.primary_contact_method == 'email' ) %]
589
                                                    [% UNLESS hidden.defined('email') %]
584
                                                        <option value="email" selected="selected">Primary email</option>
590
                                                        [% IF ( borrower.primary_contact_method == 'email' ) %]
585
                                                    [% ELSE %]
591
                                                            <option value="email" selected="selected">Primary email</option>
586
                                                        <option value="email">Primary email</option>
592
                                                        [% ELSE %]
593
                                                            <option value="email">Primary email</option>
594
                                                        [% END %]
587
                                                    [% END %]
595
                                                    [% END %]
588
                                                    [% IF ( borrower.primary_contact_method == 'emailpro' ) %]
596
                                                    [% UNLESS hidden.defined('emailpro') %]
589
                                                        <option value="emailpro" selected="selected">Secondary email</option>
597
                                                        [% IF ( borrower.primary_contact_method == 'emailpro' ) %]
590
                                                    [% ELSE %]
598
                                                            <option value="emailpro" selected="selected">Secondary email</option>
591
                                                        <option value="emailpro">Secondary email</option>
599
                                                        [% ELSE %]
600
                                                            <option value="emailpro">Secondary email</option>
601
                                                        [% END %]
592
                                                    [% END %]
602
                                                    [% END %]
593
                                                    [% IF ( borrower.primary_contact_method == 'fax' ) %]
603
                                                    [% UNLESS hidden.defined('fax') %]
594
                                                        <option value="fax" selected="selected">Fax</option>
604
                                                        [% IF ( borrower.primary_contact_method == 'fax' ) %]
595
                                                    [% ELSE %]
605
                                                            <option value="fax" selected="selected">Fax</option>
596
                                                        <option value="fax">Fax</option>
606
                                                        [% ELSE %]
607
                                                            <option value="fax">Fax</option>
608
                                                        [% END %]
597
                                                    [% END %]
609
                                                    [% END %]
598
                                                </select>
610
                                                </select>
599
                                                [% IF ( mandatory.defined('primary_contact_method') ) %]<span class="required">Required</span>[% END %]
611
                                                [% IF ( mandatory.defined('primary_contact_method') ) %]<span class="required">Required</span>[% END %]
600
- 

Return to bug 11879