add ping tool to svc_acct IP address, RT#15537
[freeside.git] / httemplate / view / svc_acct / basics.html
index 4386a83..6adebc6 100644 (file)
        label=>mt('IP address'),
        value=> ( $svc_acct->slipip eq "0.0.0.0" || $svc_acct->slipip eq '0e0' )
                  ? "<I>(".mt('Dynamic').")</I>"
-                 : $svc_acct->slipip
+                 : $svc_acct->slipip. ' '.
+                   include('/elements/popup_link-ping.html',
+                             'ip'=>$svc_acct->slipip,
+                          )
   &>
 % } 
 
 % } 
 
 <& /view/elements/tr.html, label=>mt('RADIUS groups'),
-                      value=>join('<BR>', $svc_acct->radius_groups) &>
+    value=>join('<BR>', $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