diff options
author | Jo-Philipp Wich <jo@mein.io> | 2018-04-26 09:28:53 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2018-04-26 09:30:11 +0200 |
commit | 65479e3236afecfc8efa51fbcd831927e1ce8c56 (patch) | |
tree | 670b8e8d21d52dee70c6de04c30736ad1ea0bdb9 /themes/luci-theme-bootstrap | |
parent | 736d8fee47275c36b83949a141363c16cda04be4 (diff) |
themes: fix CSS class of uci change indicator
The previous commit incorrectly added a new class attribute without
considering existing ones.
Fixes 736d8fee4 ("themes: add common class to uci change indicator")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'themes/luci-theme-bootstrap')
-rw-r--r-- | themes/luci-theme-bootstrap/luasrc/view/themes/bootstrap/header.htm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/luci-theme-bootstrap/luasrc/view/themes/bootstrap/header.htm b/themes/luci-theme-bootstrap/luasrc/view/themes/bootstrap/header.htm index 7596236a6..4881535ac 100644 --- a/themes/luci-theme-bootstrap/luasrc/view/themes/bootstrap/header.htm +++ b/themes/luci-theme-bootstrap/luasrc/view/themes/bootstrap/header.htm @@ -145,7 +145,7 @@ end if ucichanges > 0 then - write('<a class="uci_change_indicator" class="label notice" href="%s?redir=%s">%s: %d</a>' %{ + write('<a class="uci_change_indicator label notice" href="%s?redir=%s">%s: %d</a>' %{ url(category, 'uci/changes'), http.urlencode(http.formvalue('redir') or table.concat(disp.context.request, "/")), translate('Unsaved Changes'), |