luci-base: support hiding the "Back to Overview" button in cbi maps
[project/luci.git] / modules / luci-base / luasrc / view / cbi / footer.htm
index 4d332fd..e6acfb0 100644 (file)
@@ -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>