projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
luci-base: support hiding the "Back to Overview" button in cbi maps
[project/luci.git]
/
modules
/
luci-base
/
luasrc
/
view
/
cbi
/
footer.htm
diff --git
a/modules/luci-base/luasrc/view/cbi/footer.htm
b/modules/luci-base/luasrc/view/cbi/footer.htm
index
4d332fd
..
e6acfb0
100644
(file)
--- a/
modules/luci-base/luasrc/view/cbi/footer.htm
+++ b/
modules/luci-base/luasrc/view/cbi/footer.htm
@@
-1,6
+1,6
@@
<%- if pageaction then -%>
<div class="cbi-page-actions">
<%- if pageaction then -%>
<div class="cbi-page-actions">
- <% if redirect then %>
+ <% if redirect
and not flow.hidebackbtn
then %>
<div style="float:left">
<input class="cbi-button cbi-button-link" type="button" value="<%:Back to Overview%>" onclick="location.href='<%=pcdata(redirect)%>'" />
</div>
<div style="float:left">
<input class="cbi-button cbi-button-link" type="button" value="<%:Back to Overview%>" onclick="location.href='<%=pcdata(redirect)%>'" />
</div>