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 165-175 Link Here
165
165
166
[% BLOCK login_label %]
166
[% BLOCK login_label %]
167
    [%- SET preference_value = Koha.Preference('OPACLoginLabelTextContent') %]
167
    [%- SET preference_value = Koha.Preference('OPACLoginLabelTextContent') %]
168
    [%- SET label = t("Cardnumber") %]
168
    [%- SET label = t("Card number") %]
169
    [%- IF preference_value == "username" %]
169
    [%- IF preference_value == "username" %]
170
        [%- SET label = t("Username") %]
170
        [%- SET label = t("Username") %]
171
    [%- ELSIF preference_value == "cardnumberorusername" %]
171
    [%- ELSIF preference_value == "cardnumberorusername" %]
172
        [%- SET label = t("Cardnumber or username") %]
172
        [%- SET label = t("Card number or username") %]
173
    [%- END %]
173
    [%- END %]
174
    <label for="[% for | html %]">[% label | html %]:</label>
174
    <label for="[% for | html %]">[% label | html %]:</label>
175
[% END %]
175
[% END %]
176
- 

Return to bug 33766