diff options
author | Jo-Philipp Wich <jo@mein.io> | 2018-05-03 08:22:16 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2018-05-03 08:25:26 +0200 |
commit | b0f394657003d4dd954e316152498e23ad2bd4ba (patch) | |
tree | 6cc23083f1af4975a78d8cee48f4ac950aa37e5b /modules/luci-base/luasrc | |
parent | 07de9190d87c0f355f8ba8e45c2de51ad9a01166 (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/luci-base/luasrc')
-rw-r--r-- | modules/luci-base/luasrc/view/cbi/footer.htm | 2 |
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> |