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 106-116 Link Here
106
106
107
[% BLOCK login_label %]
107
[% BLOCK login_label %]
108
    [%- SET preference_value = Koha.Preference('OPACLoginLabelTextContent') %]
108
    [%- SET preference_value = Koha.Preference('OPACLoginLabelTextContent') %]
109
    [%- SET label = "Cardnumber" %]
109
    [%- SET label = t("Cardnumber") %]
110
    [%- IF preference_value == "username" %]
110
    [%- IF preference_value == "username" %]
111
        [%- SET label = "Username" %]
111
        [%- SET label = t("Username") %]
112
    [%- ELSIF preference_value == "cardnumberorusername" %]
112
    [%- ELSIF preference_value == "cardnumberorusername" %]
113
        [%- SET label = "Cardnumber or username" %]
113
        [%- SET label = t("Cardnumber or username") %]
114
    [%- END %]
114
    [%- END %]
115
    <label for="[% for | html %]">[% label | html %]:</label>
115
    <label for="[% for | html %]">[% label | html %]:</label>
116
[% END %]
116
[% END %]
117
- 

Return to bug 33766