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 168-178 OPAC: Link Here
168
        -
168
        -
169
            - Use
169
            - Use
170
            - pref: OPACLoginLabelTextContent
170
            - pref: OPACLoginLabelTextContent
171
              default: Cardnumber
171
              default: Card number
172
              choices:
172
              choices:
173
                  cardnumber: Cardnumber
173
                  cardnumber: Card number
174
                  username: Username
174
                  username: Username
175
                  cardnumberorusername: Cardnumber or username
175
                  cardnumberorusername: Card number or username
176
            - "as the text content of the userid input field's label."
176
            - "as the text content of the userid input field's label."
177
        -
177
        -
178
            - pref: OPACShowMusicalInscripts
178
            - 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