projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
modules: Redesigned configuration save, apply, save & apply menu options
[project/luci.git]
/
themes
/
openwrt.org
/
luasrc
/
view
/
themes
/
openwrt.org
/
header.htm
diff --git
a/themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm
b/themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm
index 500a73badd2897d11bce36264a5a137668962be3..23b28a14c475374d9e5b664fee5babeb92c77820 100644
(file)
--- a/
themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm
+++ b/
themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm
@@
-174,10
+174,7
@@
end
<div>
<% if ucic > 0 then %>
<a class="warning" href="<%=controller%>/<%=category%>/uci/changes"><%:unsavedchanges%>: <%=ucic%></a>
<div>
<% if ucic > 0 then %>
<a class="warning" href="<%=controller%>/<%=category%>/uci/changes"><%:unsavedchanges%>: <%=ucic%></a>
- <ul>
- <li><a href="<%=controller%>/<%=category%>/uci/apply"><%:apply%></a></li>
- <li><a href="<%=controller%>/<%=category%>/uci/revert"><%:revert%></a></li>
- </ul>
+ <% submenu(category .. "/uci/", tree.nodes[category].nodes["uci"]) -%>
<% else %>
<a href="#"><%:changes%>: 0</a>
<% end %>
<% else %>
<a href="#"><%:changes%>: 0</a>
<% end %>