From 2756019bdb10fe144debfc8d6436468a89954eb3 Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Fri, 11 Nov 2016 14:42:48 -0800 Subject: UX: acknowledge actions instead of silently redirecting --- httemplate/misc/cust_main-cancel.cgi | 11 +---------- httemplate/misc/cust_main-suspend.cgi | 11 +---------- httemplate/misc/cust_main-unsuspend.cgi | 10 +--------- httemplate/misc/process/cancel_pkg.html | 11 +---------- 4 files changed, 4 insertions(+), 39 deletions(-) (limited to 'httemplate/misc') diff --git a/httemplate/misc/cust_main-cancel.cgi b/httemplate/misc/cust_main-cancel.cgi index 4348873cf..fcae67194 100755 --- a/httemplate/misc/cust_main-cancel.cgi +++ b/httemplate/misc/cust_main-cancel.cgi @@ -1,13 +1,4 @@ -<& /elements/header-popup.html, mt("Customer cancelled") &> - - - - +<& /elements/popup-topreload.html, mt("Customer cancelled") &> <%init> die "access denied" diff --git a/httemplate/misc/cust_main-suspend.cgi b/httemplate/misc/cust_main-suspend.cgi index f20f20c13..3087a7371 100755 --- a/httemplate/misc/cust_main-suspend.cgi +++ b/httemplate/misc/cust_main-suspend.cgi @@ -1,13 +1,4 @@ -<& /elements/header-popup.html, mt("Customer suspended") &> - - - - +<& /elements/popup-topreload.html, mt("Customer suspended") &> <%init> #false laziness w/cust_main-cancel.cgi diff --git a/httemplate/misc/cust_main-unsuspend.cgi b/httemplate/misc/cust_main-unsuspend.cgi index 7ccd707bf..5826027b2 100755 --- a/httemplate/misc/cust_main-unsuspend.cgi +++ b/httemplate/misc/cust_main-unsuspend.cgi @@ -1,12 +1,4 @@ -<& /elements/header-popup.html, mt("Customer unsuspended") &> - - - +<& /elements/popup-topreload.html, mt("Customer unsuspended") &> <%init> #false laziness w/cust_main-cancel.cgi diff --git a/httemplate/misc/process/cancel_pkg.html b/httemplate/misc/process/cancel_pkg.html index 0649261e7..7e33e15c0 100755 --- a/httemplate/misc/process/cancel_pkg.html +++ b/httemplate/misc/process/cancel_pkg.html @@ -1,13 +1,4 @@ -<& /elements/header-popup.html, emt("Package $past_method") &> - - - - +<& /elements/popup-topreload.html, et("Package $past_method") &> <%once> my %past = ( 'cancel' => 'cancelled', -- cgit v1.2.1