X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fsvc_acct%2Fbasics.html;h=8f180b6481c6fbaf5149c6849c2903f4f9b84630;hb=0e256e7b9dcc00dedacf499b92bd1c945248a3b9;hp=6a0ed92601c36c7a67d4886113f8184861a7b9e8;hpb=9f2280fbce022ab9bcfc46fe94483730b0aeb0f8;p=freeside.git
diff --git a/httemplate/view/svc_acct/basics.html b/httemplate/view/svc_acct/basics.html
index 6a0ed9260..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,
+ )
&>
% }
@@ -100,7 +114,7 @@
% }
<& /view/elements/tr.html, label=>mt('RADIUS groups'),
- value=>join('
', $svc_acct->radius_groups('COMBINED')) &>
+ value=>join('
', $svc_acct->radius_groups('long_description')) &>
%# Can this be abstracted further? Maybe a library function like
%# widget('HTML', 'view', $svc_acct) ? It would definitely make UI