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 179-189 Link Here
179
179
180
[% BLOCK login_label %]
180
[% BLOCK login_label %]
181
    [%- SET preference_value = Koha.Preference('OPACLoginLabelTextContent') %]
181
    [%- SET preference_value = Koha.Preference('OPACLoginLabelTextContent') %]
182
    [%- SET label = t("Cardnumber") %]
182
    [%- SET label = t("Card number") %]
183
    [%- IF preference_value == "username" %]
183
    [%- IF preference_value == "username" %]
184
        [%- SET label = t("Username") %]
184
        [%- SET label = t("Username") %]
185
    [%- ELSIF preference_value == "cardnumberorusername" %]
185
    [%- ELSIF preference_value == "cardnumberorusername" %]
186
        [%- SET label = t("Cardnumber or username") %]
186
        [%- SET label = t("Card number or username") %]
187
    [%- END %]
187
    [%- END %]
188
    <label for="[% for | html %]">[% label | html %]:</label>
188
    <label for="[% for | html %]">[% label | html %]:</label>
189
[% END %]
189
[% END %]
190
- 

Return to bug 33766