X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fsvc_acct%2Fbasics.html;h=8f180b6481c6fbaf5149c6849c2903f4f9b84630;hb=ea3ce8d7f076e7fecff4be7ae63bc413adb0adf5;hp=a253e3bf75ff70e75c943a7f061b632c2e6eee8f;hpb=7aef2e455fe8a4722036f231ee8609ac63b2a9c9;p=freeside.git
diff --git a/httemplate/view/svc_acct/basics.html b/httemplate/view/svc_acct/basics.html
index a253e3bf7..8f180b648 100644
--- a/httemplate/view/svc_acct/basics.html
+++ b/httemplate/view/svc_acct/basics.html
@@ -42,6 +42,17 @@
<& /view/elements/tr.html, label=>mt('Access number'), value=>$svc_acct_pop->text &>
% }
+% if ( $svc_acct->sectornum && $conf->exists('svc_acct-tower_sector') ) {
+% my $tower_sector = $svc_acct->tower_sector;
+% my $link = $tower_sector->ip_addr
+% ? ''
+% : '';
+ <& /view/elements/tr.html,
+ label => mt('Tower sector'),
+ value => $link. $tower_sector->description. ($link ? '' : ''),
+ &>
+% }
+
% if ($svc_acct->uid ne '') {
<& /view/elements/tr.html, label=>mt('UID'), value=>$svc_acct->uid &>
% }
@@ -77,7 +88,10 @@
label=>mt('IP address'),
value=> ( $svc_acct->slipip eq "0.0.0.0" || $svc_acct->slipip eq '0e0' )
? "(".mt('Dynamic').")"
- : $svc_acct->slipip
+ : $svc_acct->slipip. ' '.
+ include('/elements/popup_link-ping.html',
+ 'ip'=>$svc_acct->slipip,
+ )
&>
% }