X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fsvc_domain.cgi;h=428f3e9bf8d318ecc49956af0bb511b8e40579ac;hb=85aee8e40103f4e9d547258f8a06fea580345519;hp=1dbe16d23684d9dfd228dcc62853ad8156541c19;hpb=a5651d5945c790b0d3fee0cd5082269a21adc6ee;p=freeside.git diff --git a/httemplate/view/svc_domain.cgi b/httemplate/view/svc_domain.cgi index 1dbe16d23..428f3e9bf 100755 --- a/httemplate/view/svc_domain.cgi +++ b/httemplate/view/svc_domain.cgi @@ -36,8 +36,8 @@ my $domain = $svc_domain->domain; ( ( $pkgnum || $custnum ) ? ( "View this customer (#$custnum)" => "${p}view/cust_main.cgi?$custnum", ) - : ( "Cancel this (unaudited) domain" => - "${p}misc/cancel-unaudited.cgi?$svcnum" ) + : ( "Delete this (unaudited) domain" => + "javascript:areyousure('${p}misc/cancel-unaudited.cgi?$svcnum', 'Delete $domain and all records?' )" ) ), "Main menu" => $p, )) %> @@ -50,10 +50,13 @@ Service #<%= $svcnum %>

View whois information.

<% my @records; if ( @records = $svc_domain->domain_record ) { %> @@ -71,7 +74,7 @@ Service #<%= $svcnum %> <%= $domain_record->recdata %> <% unless ( $domain_record->rectype eq 'SOA' ) { %> - (delete) + (delete) <% } %> <% } %> @@ -84,13 +87,13 @@ Service #<%= $svcnum %> IN

or

-
+ <% if ( @records ) { %> Delete all records and <% } %> @@ -99,7 +102,7 @@ Slave from nameserver IP - +


<%= joblisting({'svcnum'=>$svcnum}, 1) %>