From dc1373d2c14038f0d3c16f936be023b245247ddb Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 15 Mar 2024 14:32:09 +0100 Subject: [PATCH] Bug 20657: Remove explicit chomp in patronfields.inc --- .../prog/en/includes/patronfields.inc | 164 +++++++++--------- 1 file changed, 82 insertions(+), 82 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/patronfields.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/patronfields.inc index 7f4ede15650..8e4b5270375 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/patronfields.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/patronfields.inc @@ -1,84 +1,84 @@ -[%- BLOCK patron_fields -%] - [%- SWITCH name -%] - [%- CASE 'standard' -%][% t("Standard") | html %] - [%- CASE 'full_address' -%][% t("Full address") | html %] - [%- CASE 'all_emails' -%][% t("All emails") | html %] - [%- CASE 'all_phones' -%][% t("All phones") | html %] - [%- CASE 'borrowernumber' -%][% t("Borrowernumber") | html %] - [%- CASE 'cardnumber' -%][% t("Card number") | html %] - [%- CASE 'surname' -%][% t("Surname") | html %] - [%- CASE 'firstname' -%][% t("First name") | html %] - [%- CASE 'middle_name' -%][% t("Middle name") | html %] - [%- CASE 'title' -%][% t("Salutation") | html %] - [%- CASE 'othernames' -%][% t("Other name") | html %] - [%- CASE 'initials' -%][% t("Initials") | html %] - [%- CASE 'pronouns' -%][% t("Pronouns") | html %] - [%- CASE 'streetnumber' -%][% t("Street number") | html %] - [%- CASE 'streettype' -%][% t("Street type") | html %] - [%- CASE 'address' -%][% t("Address") | html %] - [%- CASE 'address2' -%][% t("Address 2") | html %] - [%- CASE 'city' -%][% t("City") | html %] - [%- CASE 'state' -%][% t("State") | html %] - [%- CASE 'zipcode' -%][% t("ZIP/Postal code") | html %] - [%- CASE 'country' -%][% t("Country") | html %] - [%- CASE 'email' -%][% t("Primary email") | html %] - [%- CASE 'phone' -%][% t("Primary phone") | html %] - [%- CASE 'mobile' -%][% t("Mobile phone") | html %] - [%- CASE 'fax' -%][% t("Fax") | html %] - [%- CASE 'emailpro' -%][% t("Secondary email") | html %] - [%- CASE 'phonepro' -%][% t("Secondary phone") | html %] - [%- CASE 'B_streetnumber' -%][% t("Alternate street number") | html %] - [%- CASE 'B_streettype' -%][% t("Alternate street type") | html %] - [%- CASE 'B_address' -%][% t("Alternate address") | html %] - [%- CASE 'B_address2' -%][% t("Alternate address line 2") | html %] - [%- CASE 'B_city' -%][% t("Alternate city") | html %] - [%- CASE 'B_state' -%][% t("Alternate state") | html %] - [%- CASE 'B_zipcode' -%][% t("Alternate zip code") | html %] - [%- CASE 'B_country' -%][% t("Alternate country") | html %] - [%- CASE 'B_email' -%][% t("Alternate email") | html %] - [%- CASE 'B_phone' -%][% t("Alternate phone") | html %] - [%- CASE 'dateofbirth' -%][% t("Date of birth") | html %] - [%- CASE 'branchcode' -%][% t("Library (code)") | html %] - [%- CASE 'categorycode' -%][% t("Category (code)") | html %] - [%- CASE 'dateenrolled' -%][% t("Registration date") | html %] - [%- CASE 'dateexpiry' -%][% t("Expiry date") | html %] - [%- CASE 'gonenoaddress' -%][% t("Gone no address") | html %] - [%- CASE 'lost' -%][% t("Lost card") | html %] - [%- CASE 'debarred' -%][% t("Restricted") | html %] - [%- CASE 'debarredcomment' -%][% t("Restriction reason") | html %] - [%- CASE 'contactname' -%][% t("Guarantor surname") | html %] - [%- CASE 'contactfirstname' -%][% t("Guarantor firstname") | html %] - [%- CASE 'contacttitle' -%][% t("Guarantor title") | html %] - [%- CASE 'guarantorid' -%][% t("Guarantor ID") | html %] - [%- CASE 'borrowernotes' -%][% t("Circulation note") | html %] - [%- CASE 'relationship' -%][% t("Guarantor relationship") | html %] - [%- CASE 'sex' -%][% t("Gender") | html %] - [%- CASE 'flags' -%][% t("Permissions (code)") | html %] - [%- CASE 'userid' -%][% t("Username") | html %] - [%- CASE 'opacnote' -%][% t("OPAC note") | html %] - [%- CASE 'contactnote' -%][% t("Contact note") | html %] - [%- CASE 'sort1' -%][% t("Sort 1") | html %] - [%- CASE 'sort2' -%][% t("Sort 2") | html %] - [%- CASE 'altcontactfirstname' -%][% t("Alternate contact first name") | html %] - [%- CASE 'altcontactsurname' -%][% t("Alternate contact surname") | html %] - [%- CASE 'altcontactaddress1' -%][% t("Alternate contact address") | html %] - [%- CASE 'altcontactaddress2' -%][% t("Alternate contact address 2") | html %] - [%- CASE 'altcontactaddress3' -%][% t("Alternate contact city") | html %] - [%- CASE 'altcontactstate' -%][% t("Alternate contact state") | html %] - [%- CASE 'altcontactzipcode' -%][% t("Alternate contact ZIP/postal code") | html %] - [%- CASE 'altcontactcountry' -%][% t("Alternate contact country") | html %] - [%- CASE 'altcontactphone' -%][% t("Alternate contact phone") | html %] - [%- CASE 'smsalertnumber' -%][% t("SMS alert number") | html %] - [%- CASE 'sms_provider_id' -%][% t("SMS provider") | html %] - [%- CASE 'privacy' -%][% t("Privacy (code)") | html %] - [%- CASE 'privacy_guarantor_checkouts' -%][% t("Guarantor can view checkouts") | html %] - [%- CASE 'updated_on' -%][% t("Last updated") | html %] - [%- CASE 'lastseen' -%][% t("Last seen") | html %] - [%- CASE 'checkprevcheckout' -%][% t("Check previous checkout") | html %] - [%- CASE DEFAULT -%] - [%- END -%] -[%- END -%] -[%- BLOCK patron_fields_dropdown -%] +[% BLOCK patron_fields %] + [% SWITCH name %] + [% CASE 'standard' %][% t("Standard") | html %] + [% CASE 'full_address' %][% t("Full address") | html %] + [% CASE 'all_emails' %][% t("All emails") | html %] + [% CASE 'all_phones' %][% t("All phones") | html %] + [% CASE 'borrowernumber' %][% t("Borrowernumber") | html %] + [% CASE 'cardnumber' %][% t("Card number") | html %] + [% CASE 'surname' %][% t("Surname") | html %] + [% CASE 'firstname' %][% t("First name") | html %] + [% CASE 'middle_name' %][% t("Middle name") | html %] + [% CASE 'title' %][% t("Salutation") | html %] + [% CASE 'othernames' %][% t("Other name") | html %] + [% CASE 'initials' %][% t("Initials") | html %] + [% CASE 'pronouns' %][% t("Pronouns") | html %] + [% CASE 'streetnumber' %][% t("Street number") | html %] + [% CASE 'streettype' %][% t("Street type") | html %] + [% CASE 'address' %][% t("Address") | html %] + [% CASE 'address2' %][% t("Address 2") | html %] + [% CASE 'city' %][% t("City") | html %] + [% CASE 'state' %][% t("State") | html %] + [% CASE 'zipcode' %][% t("ZIP/Postal code") | html %] + [% CASE 'country' %][% t("Country") | html %] + [% CASE 'email' %][% t("Primary email") | html %] + [% CASE 'phone' %][% t("Primary phone") | html %] + [% CASE 'mobile' %][% t("Mobile phone") | html %] + [% CASE 'fax' %][% t("Fax") | html %] + [% CASE 'emailpro' %][% t("Secondary email") | html %] + [% CASE 'phonepro' %][% t("Secondary phone") | html %] + [% CASE 'B_streetnumber' %][% t("Alternate street number") | html %] + [% CASE 'B_streettype' %][% t("Alternate street type") | html %] + [% CASE 'B_address' %][% t("Alternate address") | html %] + [% CASE 'B_address2' %][% t("Alternate address line 2") | html %] + [% CASE 'B_city' %][% t("Alternate city") | html %] + [% CASE 'B_state' %][% t("Alternate state") | html %] + [% CASE 'B_zipcode' %][% t("Alternate zip code") | html %] + [% CASE 'B_country' %][% t("Alternate country") | html %] + [% CASE 'B_email' %][% t("Alternate email") | html %] + [% CASE 'B_phone' %][% t("Alternate phone") | html %] + [% CASE 'dateofbirth' %][% t("Date of birth") | html %] + [% CASE 'branchcode' %][% t("Library (code)") | html %] + [% CASE 'categorycode' %][% t("Category (code)") | html %] + [% CASE 'dateenrolled' %][% t("Registration date") | html %] + [% CASE 'dateexpiry' %][% t("Expiry date") | html %] + [% CASE 'gonenoaddress' %][% t("Gone no address") | html %] + [% CASE 'lost' %][% t("Lost card") | html %] + [% CASE 'debarred' %][% t("Restricted") | html %] + [% CASE 'debarredcomment' %][% t("Restriction reason") | html %] + [% CASE 'contactname' %][% t("Guarantor surname") | html %] + [% CASE 'contactfirstname' %][% t("Guarantor firstname") | html %] + [% CASE 'contacttitle' %][% t("Guarantor title") | html %] + [% CASE 'guarantorid' %][% t("Guarantor ID") | html %] + [% CASE 'borrowernotes' %][% t("Circulation note") | html %] + [% CASE 'relationship' %][% t("Guarantor relationship") | html %] + [% CASE 'sex' %][% t("Gender") | html %] + [% CASE 'flags' %][% t("Permissions (code)") | html %] + [% CASE 'userid' %][% t("Username") | html %] + [% CASE 'opacnote' %][% t("OPAC note") | html %] + [% CASE 'contactnote' %][% t("Contact note") | html %] + [% CASE 'sort1' %][% t("Sort 1") | html %] + [% CASE 'sort2' %][% t("Sort 2") | html %] + [% CASE 'altcontactfirstname' %][% t("Alternate contact first name") | html %] + [% CASE 'altcontactsurname' %][% t("Alternate contact surname") | html %] + [% CASE 'altcontactaddress1' %][% t("Alternate contact address") | html %] + [% CASE 'altcontactaddress2' %][% t("Alternate contact address 2") | html %] + [% CASE 'altcontactaddress3' %][% t("Alternate contact city") | html %] + [% CASE 'altcontactstate' %][% t("Alternate contact state") | html %] + [% CASE 'altcontactzipcode' %][% t("Alternate contact ZIP/postal code") | html %] + [% CASE 'altcontactcountry' %][% t("Alternate contact country") | html %] + [% CASE 'altcontactphone' %][% t("Alternate contact phone") | html %] + [% CASE 'smsalertnumber' %][% t("SMS alert number") | html %] + [% CASE 'sms_provider_id' %][% t("SMS provider") | html %] + [% CASE 'privacy' %][% t("Privacy (code)") | html %] + [% CASE 'privacy_guarantor_checkouts' %][% t("Guarantor can view checkouts") | html %] + [% CASE 'updated_on' %][% t("Last updated") | html %] + [% CASE 'lastseen' %][% t("Last seen") | html %] + [% CASE 'checkprevcheckout' %][% t("Check previous checkout") | html %] + [% CASE DEFAULT %] + [% END %] +[% END %] +[% BLOCK patron_fields_dropdown %] [% IF search_box %] -[%- END -%] +[% END %] -- 2.34.1