From 3654347541e4da8511045d8f6f83954789cf6ac4 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sat, 25 Jun 2011 20:47:00 +0000 Subject: [PATCH] modules/admin-full: only display back button in changes page if a redir url is given --- modules/admin-full/luasrc/view/admin_uci/changes.htm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/admin-full/luasrc/view/admin_uci/changes.htm b/modules/admin-full/luasrc/view/admin_uci/changes.htm index c26d8cc5b..159a7b5f0 100644 --- a/modules/admin-full/luasrc/view/admin_uci/changes.htm +++ b/modules/admin-full/luasrc/view/admin_uci/changes.htm @@ -25,11 +25,13 @@ $Id$ <% end %>
+ <% local r = luci.http.formvalue("redir"); if r and #r > 0 then %>
-
"> +
+ <% end %>
-- 2.25.1