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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/patronfields.inc (-73 / +73 lines)
Lines 1-75 Link Here
1
[% BLOCK patron_fields -%]
1
[% BLOCK patron_fields -%]
2
     [% SWITCH name %]
2
[% SWITCH name %]
3
     [%- CASE 'standard' -%]<span>Standard</span>
3
[%- CASE 'standard' -%]<span>Standard</span>
4
     [%- CASE 'borrowernumber' -%]<span>Borrower number</span>
4
[%- CASE 'borrowernumber' -%]<span>Borrower number</span>
5
     [%- CASE 'cardnumber' -%]<span>Card number</span>
5
[%- CASE 'cardnumber' -%]<span>Card number</span>
6
     [%- CASE 'surname' -%]<span>Surname</span>
6
[%- CASE 'surname' -%]<span>Surname</span>
7
     [%- CASE 'firstname' -%]<span>First name</span>
7
[%- CASE 'firstname' -%]<span>First name</span>
8
     [%- CASE 'title' -%]<span>Title</span>
8
[%- CASE 'title' -%]<span>Title</span>
9
     [%- CASE 'othernames' -%]<span>Other names</span>
9
[%- CASE 'othernames' -%]<span>Other names</span>
10
     [%- CASE 'initials' -%]<span>Initials</span>
10
[%- CASE 'initials' -%]<span>Initials</span>
11
     [%- CASE 'streetnumber' -%]<span>Street number</span>
11
[%- CASE 'streetnumber' -%]<span>Street number</span>
12
     [%- CASE 'streettype' -%]<span>Street type</span>
12
[%- CASE 'streettype' -%]<span>Street type</span>
13
     [%- CASE 'address' -%]<span>Address</span>
13
[%- CASE 'address' -%]<span>Address</span>
14
     [%- CASE 'address2' -%]<span>Address line 2</span>
14
[%- CASE 'address2' -%]<span>Address line 2</span>
15
     [%- CASE 'city' -%]<span>City</span>
15
[%- CASE 'city' -%]<span>City</span>
16
     [%- CASE 'state' -%]<span>State</span>
16
[%- CASE 'state' -%]<span>State</span>
17
     [%- CASE 'zipcode' -%]<span>Zip code</span>
17
[%- CASE 'zipcode' -%]<span>Zip code</span>
18
     [%- CASE 'country' -%]<span>Country</span>
18
[%- CASE 'country' -%]<span>Country</span>
19
     [%- CASE 'email' -%]<span>Email</span>
19
[%- CASE 'email' -%]<span>Email</span>
20
     [%- CASE 'phone' -%]<span>Phone</span>
20
[%- CASE 'phone' -%]<span>Phone</span>
21
     [%- CASE 'mobile' -%]<span>Mobile phone</span>
21
[%- CASE 'mobile' -%]<span>Mobile phone</span>
22
     [%- CASE 'fax' -%]<span>Fax</span>
22
[%- CASE 'fax' -%]<span>Fax</span>
23
     [%- CASE 'emailpro' -%]<span>Secondary email</span>
23
[%- CASE 'emailpro' -%]<span>Secondary email</span>
24
     [%- CASE 'phonepro' -%]<span>Secondary phone</span>
24
[%- CASE 'phonepro' -%]<span>Secondary phone</span>
25
     [%- CASE 'B_streetnumber' -%]<span>Alternate street number</span>
25
[%- CASE 'B_streetnumber' -%]<span>Alternate street number</span>
26
     [%- CASE 'B_streettype' -%]<span>Alternate street type</span>
26
[%- CASE 'B_streettype' -%]<span>Alternate street type</span>
27
     [%- CASE 'B_address' -%]<span>Alternate address</span>
27
[%- CASE 'B_address' -%]<span>Alternate address</span>
28
     [%- CASE 'B_address2' -%]<span>Alternate address line 2</span>
28
[%- CASE 'B_address2' -%]<span>Alternate address line 2</span>
29
     [%- CASE 'B_city' -%]<span>Alternate city</span>
29
[%- CASE 'B_city' -%]<span>Alternate city</span>
30
     [%- CASE 'B_state' -%]<span>Alternate state</span>
30
[%- CASE 'B_state' -%]<span>Alternate state</span>
31
     [%- CASE 'B_zipcode' -%]<span>Alternate zip code</span>
31
[%- CASE 'B_zipcode' -%]<span>Alternate zip code</span>
32
     [%- CASE 'B_country' -%]<span>Alternate Country</span>
32
[%- CASE 'B_country' -%]<span>Alternate Country</span>
33
     [%- CASE 'B_email' -%]<span>Alternate email</span>
33
[%- CASE 'B_email' -%]<span>Alternate email</span>
34
     [%- CASE 'B_phone' -%]<span>Alternate phone</span>
34
[%- CASE 'B_phone' -%]<span>Alternate phone</span>
35
     [%- CASE 'dateofbirth' -%]<span>Date of birth</span>
35
[%- CASE 'dateofbirth' -%]<span>Date of birth</span>
36
     [%- CASE 'branchcode' -%]<span>Branch code</span>
36
[%- CASE 'branchcode' -%]<span>Branch code</span>
37
     [%- CASE 'categorycode' -%]<span>Category code</span>
37
[%- CASE 'categorycode' -%]<span>Category code</span>
38
     [%- CASE 'dateenrolled' -%]<span>Registration date</span>
38
[%- CASE 'dateenrolled' -%]<span>Registration date</span>
39
     [%- CASE 'dateexpiry' -%]<span>Expiration date</span>
39
[%- CASE 'dateexpiry' -%]<span>Expiration date</span>
40
     [%- CASE 'gonenoaddress' -%]<span>Gone no address</span>
40
[%- CASE 'gonenoaddress' -%]<span>Gone no address</span>
41
     [%- CASE 'lost' -%]<span>Lost card</span>
41
[%- CASE 'lost' -%]<span>Lost card</span>
42
     [%- CASE 'debarred' -%]<span>Restricted</span>
42
[%- CASE 'debarred' -%]<span>Restricted</span>
43
     [%- CASE 'debarredcomment' -%]<span>Restriction reason</span>
43
[%- CASE 'debarredcomment' -%]<span>Restriction reason</span>
44
     [%- CASE 'contactname' -%]<span>Guarantor surname</span>
44
[%- CASE 'contactname' -%]<span>Guarantor surname</span>
45
     [%- CASE 'contactfirstname' -%]<span>Guarantor firstname</span>
45
[%- CASE 'contactfirstname' -%]<span>Guarantor firstname</span>
46
     [%- CASE 'contacttitle' -%]<span>Guarantor title</span>
46
[%- CASE 'contacttitle' -%]<span>Guarantor title</span>
47
     [%- CASE 'guarantorid' -%]<span>Guarantor ID</span>
47
[%- CASE 'guarantorid' -%]<span>Guarantor ID</span>
48
     [%- CASE 'borrowernotes' -%]<span>Circulation Note</span>
48
[%- CASE 'borrowernotes' -%]<span>Circulation Note</span>
49
     [%- CASE 'relationship' -%]<span>Guarantor relationship</span>
49
[%- CASE 'relationship' -%]<span>Guarantor relationship</span>
50
     [%- CASE 'sex' -%]<span>Sex</span>
50
[%- CASE 'sex' -%]<span>Sex</span>
51
     [%- CASE 'flags' -%]<span>Permissions (code)</span>
51
[%- CASE 'flags' -%]<span>Permissions (code)</span>
52
     [%- CASE 'userid' -%]<span>User name</span>
52
[%- CASE 'userid' -%]<span>User name</span>
53
     [%- CASE 'opacnote' -%]<span>OPAC note</span>
53
[%- CASE 'opacnote' -%]<span>OPAC note</span>
54
     [%- CASE 'contactnote' -%]<span>Contact note</span>
54
[%- CASE 'contactnote' -%]<span>Contact note</span>
55
     [%- CASE 'sort1' -%]<span>Sort field 1</span>
55
[%- CASE 'sort1' -%]<span>Sort field 1</span>
56
     [%- CASE 'sort2' -%]<span>Sort field 2</span>
56
[%- CASE 'sort2' -%]<span>Sort field 2</span>
57
     [%- CASE 'altcontactfirstname' -%]<span>Alternate contact first name</span>
57
[%- CASE 'altcontactfirstname' -%]<span>Alternate contact first name</span>
58
     [%- CASE 'altcontactsurname' -%]<span>Alternate contact surname</span>
58
[%- CASE 'altcontactsurname' -%]<span>Alternate contact surname</span>
59
     [%- CASE 'altcontactaddress1' -%]<span>Alternate contact address</span>
59
[%- CASE 'altcontactaddress1' -%]<span>Alternate contact address</span>
60
     [%- CASE 'altcontactaddress2' -%]<span>Alternate contact address line 2</span>
60
[%- CASE 'altcontactaddress2' -%]<span>Alternate contact address line 2</span>
61
     [%- CASE 'altcontactaddress3' -%]<span>Alternate contact city</span>
61
[%- CASE 'altcontactaddress3' -%]<span>Alternate contact city</span>
62
     [%- CASE 'altcontactstate' -%]<span>Alternate contact state</span>
62
[%- CASE 'altcontactstate' -%]<span>Alternate contact state</span>
63
     [%- CASE 'altcontactzipcode' -%]<span>Alternate contact zip code</span>
63
[%- CASE 'altcontactzipcode' -%]<span>Alternate contact zip code</span>
64
     [%- CASE 'altcontactcountry' -%]<span>Alternate contact country</span>
64
[%- CASE 'altcontactcountry' -%]<span>Alternate contact country</span>
65
     [%- CASE 'altcontactphone' -%]<span>Alternate contact phone</span>
65
[%- CASE 'altcontactphone' -%]<span>Alternate contact phone</span>
66
     [%- CASE 'smsalertnumber' -%]<span>SMS alert number</span>
66
[%- CASE 'smsalertnumber' -%]<span>SMS alert number</span>
67
     [%- CASE 'sms_provider_id' -%]<span>SMS provider</span>
67
[%- CASE 'sms_provider_id' -%]<span>SMS provider</span>
68
     [%- CASE 'privacy' -%]<span>Privacy (code)</span>
68
[%- CASE 'privacy' -%]<span>Privacy (code)</span>
69
     [%- CASE 'privacy_guarantor_checkouts' -%]<span>Guarantor can view checkouts</span>
69
[%- CASE 'privacy_guarantor_checkouts' -%]<span>Guarantor can view checkouts</span>
70
     [%- CASE 'updated_on' -%]<span>Last updated</span>
70
[%- CASE 'updated_on' -%]<span>Last updated</span>
71
     [%- CASE 'lastseen' -%]<span>Last seen</span>
71
[%- CASE 'lastseen' -%]<span>Last seen</span>
72
     [%- CASE 'checkprevcheckout' -%]<span>Check previous checkout</span>
72
[%- CASE 'checkprevcheckout' -%]<span>Check previous checkout</span>
73
     [%- CASE DEFAULT -%]
73
[%- CASE DEFAULT -%]
74
     [%- END -%]
74
[%- END -%]
75
[%- END -%]
75
[%- END -%]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt (-2 / +1 lines)
Lines 135-141 Link Here
135
                [% search_options = default_fields.merge(pref_fields).unique %]
135
                [% search_options = default_fields.merge(pref_fields).unique %]
136
                [% FOREACH s_o IN search_options %]
136
                [% FOREACH s_o IN search_options %]
137
                    [% display_name = PROCESS patron_fields name=s_o %]
137
                    [% display_name = PROCESS patron_fields name=s_o %]
138
                    [% NEXT IF display_name.length == 5 %]
138
                    [% NEXT IF !display_name %]
139
                    [% IF searchfieldstype == s_o %]
139
                    [% IF searchfieldstype == s_o %]
140
                       <option selected="selected" value=[% s_o %]>[% display_name %]</option>
140
                       <option selected="selected" value=[% s_o %]>[% display_name %]</option>
141
                    [% ELSE %]
141
                    [% ELSE %]
142
- 

Return to bug 17374