[freeside-commits] freeside/httemplate/view svc_broadband.cgi, 1.23, 1.24
Ivan,,,
ivan at wavetail.420.am
Fri Dec 9 16:36:49 PST 2011
- Previous message: [freeside-commits] freeside/httemplate/elements tr-tower_sector.html, NONE, 1.1 tower_sector.html, NONE, 1.1 tr-select-tower_sector.html, NONE, 1.1 select-tower_sector.html, NONE, 1.1
- Next message: [freeside-commits] freeside/FS/FS tower.pm, NONE, 1.1.2.2 tower_sector.pm, NONE, 1.1.2.2 Schema.pm, 1.317.2.20, 1.317.2.21 Mason.pm, 1.78.2.6, 1.78.2.7 svc_broadband.pm, 1.24.2.5, 1.24.2.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/cvsroot/freeside/httemplate/view
In directory wavetail.420.am:/tmp/cvs-serv4959/httemplate/view
Modified Files:
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.23
retrieving revision 1.24
diff -u -w -d -r1.23 -r1.24
--- svc_broadband.cgi 10 Nov 2011 21:40:05 -0000 1.23
+++ svc_broadband.cgi 10 Dec 2011 00:36:47 -0000 1.24
@@ -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 tower_sector.html, NONE, 1.1 tr-select-tower_sector.html, NONE, 1.1 select-tower_sector.html, NONE, 1.1
- Next message: [freeside-commits] freeside/FS/FS tower.pm, NONE, 1.1.2.2 tower_sector.pm, NONE, 1.1.2.2 Schema.pm, 1.317.2.20, 1.317.2.21 Mason.pm, 1.78.2.6, 1.78.2.7 svc_broadband.pm, 1.24.2.5, 1.24.2.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the freeside-commits
mailing list