[freeside-commits] freeside/httemplate/view/cust_main packages.html, 1.20.2.16, 1.20.2.17
Ivan,,,
ivan at wavetail.420.am
Wed May 20 08:27:47 PDT 2009
Update of /home/cvs/cvsroot/freeside/httemplate/view/cust_main
In directory wavetail.420.am:/tmp/cvs-serv27084/httemplate/view/cust_main
Modified Files:
Tag: FREESIDE_1_7_BRANCH
packages.html
Log Message:
add "manage device" link & config, RT#5438
Index: packages.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/view/cust_main/packages.html,v
retrieving revision 1.20.2.16
retrieving revision 1.20.2.17
diff -u -d -r1.20.2.16 -r1.20.2.17
--- packages.html 26 Sep 2008 03:56:40 -0000 1.20.2.16
+++ packages.html 20 May 2009 15:27:45 -0000 1.20.2.17
@@ -450,10 +450,17 @@
% }
</FONT></TD>
- <TD ALIGN="right" VALIGN="top" STYLE="padding-bottom:5px;padding-top:0px"><FONT SIZE="-2">
+ <TD ALIGN="right" VALIGN="top" STYLE="padding-bottom:5px;padding-top:0px">
+
+% if ( $manage_link && $part_svc->svcdb eq 'svc_broadband' ) {
+% my $ip_addr = $cust_svc->svc_x->ip_addr;
+% my $svc_manage_link = eval(qq("$manage_link"));
+ <FONT SIZE="-1" STYLE="float:left">( <A HREF="<% $svc_manage_link %>">Manage Device</A> )</FONT>
+
+% }
% if ( $curuser->access_right('Unprovision customer service') ) {
- ( <%svc_unprovision_link($cust_svc)%> )
+ <FONT SIZE="-2">( <%svc_unprovision_link($cust_svc)%> )</FONT>
% }
</FONT></TD>
</TR>
@@ -497,6 +504,8 @@
my $colspan = $conf->exists('cust_pkg-display_times') ? 8 : 4;
my $width = $conf->exists('cust_pkg-display_times') ? '38%' : '56%';
+my $manage_link = $conf->config('svc_broadband-manage_link');
+
sub pkg_status_row {
my( $cust_pkg, $title, $field, %opt ) = @_;
More information about the freeside-commits
mailing list