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:22:55 +0200 |
commit | 52cf265c9d12537d5f37043350328d30ca11bab4 (patch) | |
tree | 07e14d99aab2debb34b20aa633026c57600b0b30 /modules/luci-base/luasrc/view/cbi | |
parent | 3f517121532e8f7e1987e491fe42cdb43cacc3a7 (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/view/cbi')
-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 4d332fd07..e6acfb069 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> |