projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
themes: fix CSS class of uci change indicator
[project/luci.git]
/
themes
/
luci-theme-freifunk-generic
/
luasrc
/
view
/
themes
/
freifunk-generic
/
header.htm
diff --git
a/themes/luci-theme-freifunk-generic/luasrc/view/themes/freifunk-generic/header.htm
b/themes/luci-theme-freifunk-generic/luasrc/view/themes/freifunk-generic/header.htm
index
342a9d4
..
16ffc99
100644
(file)
--- a/
themes/luci-theme-freifunk-generic/luasrc/view/themes/freifunk-generic/header.htm
+++ b/
themes/luci-theme-freifunk-generic/luasrc/view/themes/freifunk-generic/header.htm
@@
-205,7
+205,7
@@
if tree.nodes[category] and tree.nodes[category].ucidata then
-%>
<div id="savemenu">
<% if ucic > 0 then %>
-%>
<div id="savemenu">
<% if ucic > 0 then %>
- <a class="
warning" href="<%=controller%>/<%=category%>/uci/changes/?redir=<%=http.urlencode(http.formvalue("redir") or REQUEST_URI
)%>"><%:Unsaved Changes%>: <%=ucic%></a>
+ <a class="
uci_change_indicator warning" href="<%=controller%>/<%=category%>/uci/changes/?redir=<%=http.urlencode(http.formvalue('redir') or table.concat(disp.context.request, "/")
)%>"><%:Unsaved Changes%>: <%=ucic%></a>
<% end -%>
</div>
<% end %>
<% end -%>
</div>
<% end %>