themes: fix CSS class of uci change indicator
[project/luci.git] / themes / luci-theme-material / luasrc / view / themes / material / header.htm
index 3592f38..0aca882 100644 (file)
                        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'),