From 7a486dea647f735a9a1d0381443218ad6affe6e1 Mon Sep 17 00:00:00 2001 From: Mark Wells Date: Tue, 16 Sep 2014 21:38:07 -0700 Subject: improve unsuspend behavior for packages on hold, #28508 --- httemplate/misc/unsuspend_cust.html | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) (limited to 'httemplate/misc/unsuspend_cust.html') diff --git a/httemplate/misc/unsuspend_cust.html b/httemplate/misc/unsuspend_cust.html index 600eb268a..4555a58b3 100644 --- a/httemplate/misc/unsuspend_cust.html +++ b/httemplate/misc/unsuspend_cust.html @@ -7,8 +7,7 @@

<% mt('Unsuspend this customer?') |h %> - +
+% if ( $on_hold_pkgs > 0 ) { + + + + +% } +% if ( $susp_pkgs == 0 ) { # then always release holds, or this will do nothing + +% }
@@ -26,6 +25,21 @@ STYLE="margin-left:auto; margin-right:auto"> } &>
+ /> + + + <% emt('Activate [quant,_1,on-hold package,on-hold packages]', $on_hold_pkgs) %> +