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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/patronfields.inc (-83 / +82 lines)
Lines 1-84 Link Here
1
[%- BLOCK patron_fields -%]
1
[% BLOCK patron_fields %]
2
    [%- SWITCH name -%]
2
    [% SWITCH name %]
3
    [%- CASE 'standard' -%][% t("Standard") | html %]
3
    [% CASE 'standard' %][% t("Standard") | html %]
4
    [%- CASE 'full_address' -%][% t("Full address") | html %]
4
    [% CASE 'full_address' %][% t("Full address") | html %]
5
    [%- CASE 'all_emails' -%][% t("All emails") | html %]
5
    [% CASE 'all_emails' %][% t("All emails") | html %]
6
    [%- CASE 'all_phones' -%][% t("All phones") | html %]
6
    [% CASE 'all_phones' %][% t("All phones") | html %]
7
    [%- CASE 'borrowernumber' -%][% t("Borrowernumber") | html %]
7
    [% CASE 'borrowernumber' %][% t("Borrowernumber") | html %]
8
    [%- CASE 'cardnumber' -%][% t("Card number") | html %]
8
    [% CASE 'cardnumber' %][% t("Card number") | html %]
9
    [%- CASE 'surname' -%][% t("Surname") | html %]
9
    [% CASE 'surname' %][% t("Surname") | html %]
10
    [%- CASE 'firstname' -%][% t("First name") | html %]
10
    [% CASE 'firstname' %][% t("First name") | html %]
11
    [%- CASE 'middle_name' -%][% t("Middle name") | html %]
11
    [% CASE 'middle_name' %][% t("Middle name") | html %]
12
    [%- CASE 'title' -%][% t("Salutation") | html %]
12
    [% CASE 'title' %][% t("Salutation") | html %]
13
    [%- CASE 'othernames' -%][% t("Other name") | html %]
13
    [% CASE 'othernames' %][% t("Other name") | html %]
14
    [%- CASE 'initials' -%][% t("Initials") | html %]
14
    [% CASE 'initials' %][% t("Initials") | html %]
15
    [%- CASE 'pronouns' -%][% t("Pronouns") | html %]
15
    [% CASE 'pronouns' %][% t("Pronouns") | html %]
16
    [%- CASE 'streetnumber' -%][% t("Street number") | html %]
16
    [% CASE 'streetnumber' %][% t("Street number") | html %]
17
    [%- CASE 'streettype' -%][% t("Street type") | html %]
17
    [% CASE 'streettype' %][% t("Street type") | html %]
18
    [%- CASE 'address' -%][% t("Address") | html %]
18
    [% CASE 'address' %][% t("Address") | html %]
19
    [%- CASE 'address2' -%][% t("Address 2") | html %]
19
    [% CASE 'address2' %][% t("Address 2") | html %]
20
    [%- CASE 'city' -%][% t("City") | html %]
20
    [% CASE 'city' %][% t("City") | html %]
21
    [%- CASE 'state' -%][% t("State") | html %]
21
    [% CASE 'state' %][% t("State") | html %]
22
    [%- CASE 'zipcode' -%][% t("ZIP/Postal code") | html %]
22
    [% CASE 'zipcode' %][% t("ZIP/Postal code") | html %]
23
    [%- CASE 'country' -%][% t("Country") | html %]
23
    [% CASE 'country' %][% t("Country") | html %]
24
    [%- CASE 'email' -%][% t("Primary email") | html %]
24
    [% CASE 'email' %][% t("Primary email") | html %]
25
    [%- CASE 'phone' -%][% t("Primary phone") | html %]
25
    [% CASE 'phone' %][% t("Primary phone") | html %]
26
    [%- CASE 'mobile' -%][% t("Mobile phone") | html %]
26
    [% CASE 'mobile' %][% t("Mobile phone") | html %]
27
    [%- CASE 'fax' -%][% t("Fax") | html %]
27
    [% CASE 'fax' %][% t("Fax") | html %]
28
    [%- CASE 'emailpro' -%][% t("Secondary email") | html %]
28
    [% CASE 'emailpro' %][% t("Secondary email") | html %]
29
    [%- CASE 'phonepro' -%][% t("Secondary phone") | html %]
29
    [% CASE 'phonepro' %][% t("Secondary phone") | html %]
30
    [%- CASE 'B_streetnumber' -%][% t("Alternate street number") | html %]
30
    [% CASE 'B_streetnumber' %][% t("Alternate street number") | html %]
31
    [%- CASE 'B_streettype' -%][% t("Alternate street type") | html %]
31
    [% CASE 'B_streettype' %][% t("Alternate street type") | html %]
32
    [%- CASE 'B_address' -%][% t("Alternate address") | html %]
32
    [% CASE 'B_address' %][% t("Alternate address") | html %]
33
    [%- CASE 'B_address2' -%][% t("Alternate address line 2") | html %]
33
    [% CASE 'B_address2' %][% t("Alternate address line 2") | html %]
34
    [%- CASE 'B_city' -%][% t("Alternate city") | html %]
34
    [% CASE 'B_city' %][% t("Alternate city") | html %]
35
    [%- CASE 'B_state' -%][% t("Alternate state") | html %]
35
    [% CASE 'B_state' %][% t("Alternate state") | html %]
36
    [%- CASE 'B_zipcode' -%][% t("Alternate zip code") | html %]
36
    [% CASE 'B_zipcode' %][% t("Alternate zip code") | html %]
37
    [%- CASE 'B_country' -%][% t("Alternate country") | html %]
37
    [% CASE 'B_country' %][% t("Alternate country") | html %]
38
    [%- CASE 'B_email' -%][% t("Alternate email") | html %]
38
    [% CASE 'B_email' %][% t("Alternate email") | html %]
39
    [%- CASE 'B_phone' -%][% t("Alternate phone") | html %]
39
    [% CASE 'B_phone' %][% t("Alternate phone") | html %]
40
    [%- CASE 'dateofbirth' -%][% t("Date of birth") | html %]
40
    [% CASE 'dateofbirth' %][% t("Date of birth") | html %]
41
    [%- CASE 'branchcode' -%][% t("Library (code)") | html %]
41
    [% CASE 'branchcode' %][% t("Library (code)") | html %]
42
    [%- CASE 'categorycode' -%][% t("Category (code)") | html %]
42
    [% CASE 'categorycode' %][% t("Category (code)") | html %]
43
    [%- CASE 'dateenrolled' -%][% t("Registration date") | html %]
43
    [% CASE 'dateenrolled' %][% t("Registration date") | html %]
44
    [%- CASE 'dateexpiry' -%][% t("Expiry date") | html %]
44
    [% CASE 'dateexpiry' %][% t("Expiry date") | html %]
45
    [%- CASE 'gonenoaddress' -%][% t("Gone no address") | html %]
45
    [% CASE 'gonenoaddress' %][% t("Gone no address") | html %]
46
    [%- CASE 'lost' -%][% t("Lost card") | html %]
46
    [% CASE 'lost' %][% t("Lost card") | html %]
47
    [%- CASE 'debarred' -%][% t("Restricted") | html %]
47
    [% CASE 'debarred' %][% t("Restricted") | html %]
48
    [%- CASE 'debarredcomment' -%][% t("Restriction reason") | html %]
48
    [% CASE 'debarredcomment' %][% t("Restriction reason") | html %]
49
    [%- CASE 'contactname' -%][% t("Guarantor surname") | html %]
49
    [% CASE 'contactname' %][% t("Guarantor surname") | html %]
50
    [%- CASE 'contactfirstname' -%][% t("Guarantor firstname") | html %]
50
    [% CASE 'contactfirstname' %][% t("Guarantor firstname") | html %]
51
    [%- CASE 'contacttitle' -%][% t("Guarantor title") | html %]
51
    [% CASE 'contacttitle' %][% t("Guarantor title") | html %]
52
    [%- CASE 'guarantorid' -%][% t("Guarantor ID") | html %]
52
    [% CASE 'guarantorid' %][% t("Guarantor ID") | html %]
53
    [%- CASE 'borrowernotes' -%][% t("Circulation note") | html %]
53
    [% CASE 'borrowernotes' %][% t("Circulation note") | html %]
54
    [%- CASE 'relationship' -%][% t("Guarantor relationship") | html %]
54
    [% CASE 'relationship' %][% t("Guarantor relationship") | html %]
55
    [%- CASE 'sex' -%][% t("Gender") | html %]
55
    [% CASE 'sex' %][% t("Gender") | html %]
56
    [%- CASE 'flags' -%][% t("Permissions (code)") | html %]
56
    [% CASE 'flags' %][% t("Permissions (code)") | html %]
57
    [%- CASE 'userid' -%][% t("Username") | html %]
57
    [% CASE 'userid' %][% t("Username") | html %]
58
    [%- CASE 'opacnote' -%][% t("OPAC note") | html %]
58
    [% CASE 'opacnote' %][% t("OPAC note") | html %]
59
    [%- CASE 'contactnote' -%][% t("Contact note") | html %]
59
    [% CASE 'contactnote' %][% t("Contact note") | html %]
60
    [%- CASE 'sort1' -%][% t("Sort 1") | html %]
60
    [% CASE 'sort1' %][% t("Sort 1") | html %]
61
    [%- CASE 'sort2' -%][% t("Sort 2") | html %]
61
    [% CASE 'sort2' %][% t("Sort 2") | html %]
62
    [%- CASE 'altcontactfirstname' -%][% t("Alternate contact first name") | html %]
62
    [% CASE 'altcontactfirstname' %][% t("Alternate contact first name") | html %]
63
    [%- CASE 'altcontactsurname' -%][% t("Alternate contact surname") | html %]
63
    [% CASE 'altcontactsurname' %][% t("Alternate contact surname") | html %]
64
    [%- CASE 'altcontactaddress1' -%][% t("Alternate contact address") | html %]
64
    [% CASE 'altcontactaddress1' %][% t("Alternate contact address") | html %]
65
    [%- CASE 'altcontactaddress2' -%][% t("Alternate contact address 2") | html %]
65
    [% CASE 'altcontactaddress2' %][% t("Alternate contact address 2") | html %]
66
    [%- CASE 'altcontactaddress3' -%][% t("Alternate contact city") | html %]
66
    [% CASE 'altcontactaddress3' %][% t("Alternate contact city") | html %]
67
    [%- CASE 'altcontactstate' -%][% t("Alternate contact state") | html %]
67
    [% CASE 'altcontactstate' %][% t("Alternate contact state") | html %]
68
    [%- CASE 'altcontactzipcode' -%][% t("Alternate contact ZIP/postal code") | html %]
68
    [% CASE 'altcontactzipcode' %][% t("Alternate contact ZIP/postal code") | html %]
69
    [%- CASE 'altcontactcountry' -%][% t("Alternate contact country") | html %]
69
    [% CASE 'altcontactcountry' %][% t("Alternate contact country") | html %]
70
    [%- CASE 'altcontactphone' -%][% t("Alternate contact phone") | html %]
70
    [% CASE 'altcontactphone' %][% t("Alternate contact phone") | html %]
71
    [%- CASE 'smsalertnumber' -%][% t("SMS alert number") | html %]
71
    [% CASE 'smsalertnumber' %][% t("SMS alert number") | html %]
72
    [%- CASE 'sms_provider_id' -%][% t("SMS provider") | html %]
72
    [% CASE 'sms_provider_id' %][% t("SMS provider") | html %]
73
    [%- CASE 'privacy' -%][% t("Privacy (code)") | html %]
73
    [% CASE 'privacy' %][% t("Privacy (code)") | html %]
74
    [%- CASE 'privacy_guarantor_checkouts' -%][% t("Guarantor can view checkouts") | html %]
74
    [% CASE 'privacy_guarantor_checkouts' %][% t("Guarantor can view checkouts") | html %]
75
    [%- CASE 'updated_on' -%][% t("Last updated") | html %]
75
    [% CASE 'updated_on' %][% t("Last updated") | html %]
76
    [%- CASE 'lastseen' -%][% t("Last seen") | html %]
76
    [% CASE 'lastseen' %][% t("Last seen") | html %]
77
    [%- CASE 'checkprevcheckout' -%][% t("Check previous checkout") | html %]
77
    [% CASE 'checkprevcheckout' %][% t("Check previous checkout") | html %]
78
    [%- CASE DEFAULT -%]
78
    [% CASE DEFAULT %]
79
    [%- END -%]
79
    [% END %]
80
[%- END -%]
80
[% END %]
81
[%- BLOCK patron_fields_dropdown -%]
81
[% BLOCK patron_fields_dropdown %]
82
    [% IF search_box %]
82
    [% IF search_box %]
83
        <label for="searchfieldstype" class="control-label">Search field:</label>
83
        <label for="searchfieldstype" class="control-label">Search field:</label>
84
        <select name="searchfieldstype" id="searchfieldstype" class="form-control">
84
        <select name="searchfieldstype" id="searchfieldstype" class="form-control">
Lines 109-112 Link Here
109
            [% END %]
109
            [% END %]
110
        [% END %]
110
        [% END %]
111
    </select>
111
    </select>
112
[%- END -%]
112
[% END %]
113
- 

Return to bug 20657