[freeside-commits] freeside/httemplate/view svc_broadband.cgi, 1.22.2.1, 1.22.2.2
Ivan,,,
ivan at wavetail.420.am
Fri Dec 9 16:37:06 PST 2011
- Previous message: [freeside-commits] freeside/httemplate/elements tr-tower_sector.html, NONE, 1.1.2.2 tower_sector.html, NONE, 1.1.2.2 tr-select-tower_sector.html, NONE, 1.1.2.2 select-tower_sector.html, NONE, 1.1.2.2
- Next message: [freeside-commits] freeside/FS/FS/part_pkg voip_cdr.pm, 1.127, 1.128
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/cvsroot/freeside/httemplate/view
In directory wavetail.420.am:/tmp/cvs-serv5092/httemplate/view
Modified Files:
Tag: FREESIDE_2_3_BRANCH
svc_broadband.cgi
Log Message:
tower tracking, RT#15538
Index: svc_broadband.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/view/svc_broadband.cgi,v
retrieving revision 1.22.2.1
retrieving revision 1.22.2.2
diff -u -w -d -r1.22.2.1 -r1.22.2.2
--- svc_broadband.cgi 10 Nov 2011 21:40:25 -0000 1.22.2.1
+++ svc_broadband.cgi 10 Dec 2011 00:37:04 -0000 1.22.2.2
@@ -22,6 +22,7 @@
'speed_down',
'speed_up',
{ field => 'ip_addr', value => \&ip_addr },
+ { field => 'sectornum', value => \§ornum },
'mac_addr',
'latitude',
'longitude',
@@ -60,4 +61,15 @@
join('<BR>', $svc->radius_groups('long_description'));
}
+sub sectornum {
+ my $svc_broadband = shift;
+ return '' unless $svc_broadband->sectornum;
+ my $tower_sector = $svc_broadband->tower_sector;
+ my $link = $tower_sector->ip_addr
+ ? '<A HREF="http://'. $tower_sector->ip_addr. '">'
+ : '';
+
+ $link . $tower_sector->description. ( $link ? '</A>' : '');
+}
+
</%init>
- Previous message: [freeside-commits] freeside/httemplate/elements tr-tower_sector.html, NONE, 1.1.2.2 tower_sector.html, NONE, 1.1.2.2 tr-select-tower_sector.html, NONE, 1.1.2.2 select-tower_sector.html, NONE, 1.1.2.2
- Next message: [freeside-commits] freeside/FS/FS/part_pkg voip_cdr.pm, 1.127, 1.128
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the freeside-commits
mailing list