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 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 = "Cardnumber" %]
182
    [%- SET label = t("Cardnumber") %]
183
    [%- IF preference_value == "username" %]
183
    [%- IF preference_value == "username" %]
184
        [%- SET label = "Username" %]
184
        [%- SET label = t("Username") %]
185
    [%- ELSIF preference_value == "cardnumberorusername" %]
185
    [%- ELSIF preference_value == "cardnumberorusername" %]
186
        [%- SET label = "Cardnumber or username" %]
186
        [%- SET label = t("Cardnumber 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