summaryrefslogtreecommitdiffhomepage
path: root/modules
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2018-05-03 08:22:16 +0200
committerJo-Philipp Wich <jo@mein.io>2018-05-03 08:25:26 +0200
commitb0f394657003d4dd954e316152498e23ad2bd4ba (patch)
tree6cc23083f1af4975a78d8cee48f4ac950aa37e5b /modules
parent07de9190d87c0f355f8ba8e45c2de51ad9a01166 (diff)
luci-base: support hiding the "Back to Overview" button in cbi maps
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules')
-rw-r--r--modules/luci-base/luasrc/view/cbi/footer.htm2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/luci-base/luasrc/view/cbi/footer.htm b/modules/luci-base/luasrc/view/cbi/footer.htm
index 4d332fd07a..e6acfb0697 100644
--- 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 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>