[freeside-commits] freeside/httemplate/view/svc_acct basics.html, 1.12.2.2, 1.12.2.3

Ivan,,, ivan at wavetail.420.am
Sun Dec 18 17:59:18 PST 2011


Update of /home/cvs/cvsroot/freeside/httemplate/view/svc_acct
In directory wavetail.420.am:/tmp/cvs-serv28617/httemplate/view/svc_acct

Modified Files:
      Tag: FREESIDE_2_3_BRANCH
	basics.html 
Log Message:
tower for svc_acct, RT#15538

Index: basics.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/view/svc_acct/basics.html,v
retrieving revision 1.12.2.2
retrieving revision 1.12.2.3
diff -u -w -d -r1.12.2.2 -r1.12.2.3
--- basics.html	9 Dec 2011 05:13:49 -0000	1.12.2.2
+++ basics.html	19 Dec 2011 01:59:16 -0000	1.12.2.3
@@ -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
+%                ? '<A HREF="http://'. $tower_sector->ip_addr. '">'
+%                : '';
+    <& /view/elements/tr.html,
+        label => mt('Tower sector'),
+        value => $link. $tower_sector->description. ($link ? '</A>' : ''),
+    &>
+% }
+
 % if ($svc_acct->uid ne '') { 
   <& /view/elements/tr.html, label=>mt('UID'), value=>$svc_acct->uid &>
 % } 



More information about the freeside-commits mailing list