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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/html_helpers.inc (-4 / +3 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 = "Cardnumber" %]
174
    [%- SET label = t("Cardnumber") %]
175
    [%- IF preference_value == "username" %]
175
    [%- IF preference_value == "username" %]
176
        [%- SET label = "Username" %]
176
        [%- SET label = t("Username") %]
177
    [%- ELSIF preference_value == "cardnumberorusername" %]
177
    [%- ELSIF preference_value == "cardnumberorusername" %]
178
        [%- SET label = "Cardnumber or username" %]
178
        [%- SET label = t("Cardnumber 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