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 184-194 OPAC: Link Here
184
        -
184
        -
185
            - Use
185
            - Use
186
            - pref: OPACLoginLabelTextContent
186
            - pref: OPACLoginLabelTextContent
187
              default: Cardnumber
187
              default: Card number
188
              choices:
188
              choices:
189
                  cardnumber: Cardnumber
189
                  cardnumber: Card number
190
                  username: Username
190
                  username: Username
191
                  cardnumberorusername: Cardnumber or username
191
                  cardnumberorusername: Card number or username
192
            - "as the text content of the userid input field's label."
192
            - "as the text content of the userid input field's label."
193
        -
193
        -
194
            - pref: OPACShowMusicalInscripts
194
            - pref: OPACShowMusicalInscripts
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/html_helpers.inc (-3 / +2 lines)
Lines 171-181 Link Here
171
171
172
[% BLOCK login_label %]
172
[% BLOCK login_label %]
173
    [%- SET preference_value = Koha.Preference('OPACLoginLabelTextContent') %]
173
    [%- SET preference_value = Koha.Preference('OPACLoginLabelTextContent') %]
174
    [%- SET label = t("Cardnumber") %]
174
    [%- SET label = t("Card number") %]
175
    [%- IF preference_value == "username" %]
175
    [%- IF preference_value == "username" %]
176
        [%- SET label = t("Username") %]
176
        [%- SET label = t("Username") %]
177
    [%- ELSIF preference_value == "cardnumberorusername" %]
177
    [%- ELSIF preference_value == "cardnumberorusername" %]
178
        [%- SET label = t("Cardnumber or username") %]
178
        [%- SET label = t("Card number or username") %]
179
    [%- END %]
179
    [%- END %]
180
    <label for="[% for | html %]">[% label | html %]:</label>
180
    <label for="[% for | html %]">[% label | html %]:</label>
181
[% END %]
181
[% END %]
182
- 

Return to bug 33766