diff options
author | mark <mark> | 2010-10-25 22:22:42 +0000 |
---|---|---|
committer | mark <mark> | 2010-10-25 22:22:42 +0000 |
commit | 0a51b87d75f8c93de863f729ef1ca568ca227e32 (patch) | |
tree | 17305873562562672fa2239fff869fc38b2fafa7 /httemplate/view/elements | |
parent | 716be4fdacc0995d54a0df8c77268606f23fa768 (diff) |
summary display of bulk packages with many services, RT#9821
Diffstat (limited to 'httemplate/view/elements')
-rw-r--r-- | httemplate/view/elements/svc_Common.html | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/httemplate/view/elements/svc_Common.html b/httemplate/view/elements/svc_Common.html index 852640e0c..8a352f3fa 100644 --- a/httemplate/view/elements/svc_Common.html +++ b/httemplate/view/elements/svc_Common.html @@ -21,6 +21,13 @@ ) </%doc> +<SCRIPT> +function areyousure(href) { + if (confirm("Permanently delete this <% $label %>?") == true) + window.location.href = href; +} +</SCRIPT> + % if ( $custnum ) { <% include("/elements/header.html","View $label: $value") %> @@ -36,18 +43,13 @@ "javascript:areyousure(\'${p}misc/cancel-unaudited.cgi?$svcnum\')" )) %> - <SCRIPT> - function areyousure(href) { - if (confirm("Permanently delete this <% $label %>?") == true) - window.location.href = href; - } - </SCRIPT> - % } Service #<B><% $svcnum %></B> % my $url = $opt{'edit_url'} || $p. 'edit/'. $opt{'table'}. '.cgi?'; | <A HREF="<%$url%><%$svcnum%>">Edit this <% $label %></A> +| <A HREF="javascript:areyousure('<%$p.'misc/unprovision.cgi?'.$svcnum%>')"> +Unprovision this Service</A> <BR> <% ntable("#cccccc") %><TR><TD><% ntable("#cccccc",2) %> |