From 3654347541e4da8511045d8f6f83954789cf6ac4 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sat, 25 Jun 2011 20:47:00 +0000 Subject: 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(-) (limited to 'modules/admin-full/luasrc') diff --git a/modules/admin-full/luasrc/view/admin_uci/changes.htm b/modules/admin-full/luasrc/view/admin_uci/changes.htm index c26d8cc5b8..159a7b5f0a 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 %>
-- cgit v1.2.3