From 8c62a38940c64c9c6c43d0dd892600f7bb726604 Mon Sep 17 00:00:00 2001 From: ivan Date: Mon, 22 Feb 2010 07:13:30 +0000 Subject: communigate: domain aliases, enabled services & administrator domain, RT#7083 --- httemplate/edit/svc_domain.cgi | 16 ++++++++++++++++ httemplate/view/svc_domain.cgi | 14 ++++++++++++++ 2 files changed, 30 insertions(+) (limited to 'httemplate') diff --git a/httemplate/edit/svc_domain.cgi b/httemplate/edit/svc_domain.cgi index a2b87e4fa..a3589c4a7 100755 --- a/httemplate/edit/svc_domain.cgi +++ b/httemplate/edit/svc_domain.cgi @@ -38,6 +38,22 @@ Available top-level domains: <% $export->option('tlds') %> +% if ( $communigate ) { + + Administrator domain + + <% include('/elements/select-domain.html', + 'element_name' => 'parent_svcnum', + 'curr_value' => $svc_domain->parent_svcnum, + 'empty_label' => '(none)', + ) + %> + + +% } else { + +% } + % if ( $communigate % && $part_svc->part_svc_column('max_accounts')->columnflag !~ /^[FA]$/ ) { diff --git a/httemplate/view/svc_domain.cgi b/httemplate/view/svc_domain.cgi index 51caa5c99..3fd898ba5 100755 --- a/httemplate/view/svc_domain.cgi +++ b/httemplate/view/svc_domain.cgi @@ -63,10 +63,24 @@ Service #<% $svcnum %> % } % if ( $communigate ) { + + + Administrator domain + +% if ( $svc_domain->parent_svcnum ) { +% #XXX agent-virt aware the link + <% $svc_domain->parent_svc_x->domain %> +% } else { + (none) +% } + + + Aliases <% $svc_domain->cgp_aliases %> + % } % if ( $communigate && $svc_domain->max_accounts ) { -- cgit v1.2.1