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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref (-3 / +3 lines)
Lines 174-184 OPAC: Link Here
174
        -
174
        -
175
            - Use
175
            - Use
176
            - pref: OPACLoginLabelTextContent
176
            - pref: OPACLoginLabelTextContent
177
              default: Cardnumber
177
              default: Card number
178
              choices:
178
              choices:
179
                  cardnumber: Cardnumber
179
                  cardnumber: Card number
180
                  username: Username
180
                  username: Username
181
                  cardnumberorusername: Cardnumber or username
181
                  cardnumberorusername: Card number or username
182
            - "as the text content of the userid input field's label."
182
            - "as the text content of the userid input field's label."
183
        -
183
        -
184
            - pref: OPACShowMusicalInscripts
184
            - pref: OPACShowMusicalInscripts
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/html_helpers.inc (-3 / +2 lines)
Lines 106-116 Link Here
106
106
107
[% BLOCK login_label %]
107
[% BLOCK login_label %]
108
    [%- SET preference_value = Koha.Preference('OPACLoginLabelTextContent') %]
108
    [%- SET preference_value = Koha.Preference('OPACLoginLabelTextContent') %]
109
    [%- SET label = t("Cardnumber") %]
109
    [%- SET label = t("Card number") %]
110
    [%- IF preference_value == "username" %]
110
    [%- IF preference_value == "username" %]
111
        [%- SET label = t("Username") %]
111
        [%- SET label = t("Username") %]
112
    [%- ELSIF preference_value == "cardnumberorusername" %]
112
    [%- ELSIF preference_value == "cardnumberorusername" %]
113
        [%- SET label = t("Cardnumber or username") %]
113
        [%- SET label = t("Card number or username") %]
114
    [%- END %]
114
    [%- END %]
115
    <label for="[% for | html %]">[% label | html %]:</label>
115
    <label for="[% for | html %]">[% label | html %]:</label>
116
[% END %]
116
[% END %]
117
- 

Return to bug 33766