summaryrefslogtreecommitdiffhomepage
path: root/themes/luci-theme-openwrt/luasrc/view
diff options
context:
space:
mode:
Diffstat (limited to 'themes/luci-theme-openwrt/luasrc/view')
-rw-r--r--themes/luci-theme-openwrt/luasrc/view/themes/openwrt.org/header.htm10
1 files changed, 1 insertions, 9 deletions
diff --git a/themes/luci-theme-openwrt/luasrc/view/themes/openwrt.org/header.htm b/themes/luci-theme-openwrt/luasrc/view/themes/openwrt.org/header.htm
index d6db8e885..a560014d3 100644
--- a/themes/luci-theme-openwrt/luasrc/view/themes/openwrt.org/header.htm
+++ b/themes/luci-theme-openwrt/luasrc/view/themes/openwrt.org/header.htm
@@ -99,22 +99,14 @@
end
end
- write('<div id="savemenu">')
-
if ucic > 0 then
- write('<a class="warning" href="%s?redir=%s">%s: %d</a>' %{
+ write('<div id="savemenu" class="uci_change_indicator"><a class="warning" href="%s?redir=%s">%s: %d</a></div>' %{
url(category, 'uci/changes'),
http.urlencode(http.formvalue('redir') or table.concat(disp.context.request, "/")),
translate('Unsaved Changes'),
ucic
})
- else
- write('<a href="#">%s: 0</a>' %{
- translate('Unsaved Changes')
- })
end
-
- write('</div>')
end
end
-%>