From: Jo-Philipp Wich Date: Sat, 25 Jun 2011 20:47:00 +0000 (+0000) Subject: modules/admin-full: only display back button in changes page if a redir url is given X-Git-Tag: 0.11.0~1991 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=3654347541e4da8511045d8f6f83954789cf6ac4;p=oweals%2Fluci.git modules/admin-full: only display back button in changes page if a redir url is given --- 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 %>