[freeside-commits] branch master updated. 04f99991071acf5c390ea4d52db37798543ff9d8
Ivan
ivan at 420.am
Mon Mar 18 13:54:25 PDT 2013
The branch, master has been updated
via 04f99991071acf5c390ea4d52db37798543ff9d8 (commit)
from 66631c3f1b7c9c2a532f04eded5a472fcf780a00 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 04f99991071acf5c390ea4d52db37798543ff9d8
Author: Ivan Kohler <ivan at freeside.biz>
Date: Mon Mar 18 13:54:24 2013 -0700
add mac_addr to svc_broadband-manage_link, RT#21997
diff --git a/FS/FS/Conf.pm b/FS/FS/Conf.pm
index 4842f67..fbac011 100644
--- a/FS/FS/Conf.pm
+++ b/FS/FS/Conf.pm
@@ -4835,7 +4835,7 @@ and customer address. Include units.',
{
'key' => 'svc_broadband-manage_link',
'section' => 'UI',
- 'description' => 'URL for svc_broadband "Manage Device" link. The following substitutions are available: $ip_addr.',
+ 'description' => 'URL for svc_broadband "Manage Device" link. The following substitutions are available: $ip_addr and $mac_addr.',
'type' => 'text',
},
diff --git a/httemplate/elements/tr-cust_svc.html b/httemplate/elements/tr-cust_svc.html
index 1ca22f6..b66654f 100644
--- a/httemplate/elements/tr-cust_svc.html
+++ b/httemplate/elements/tr-cust_svc.html
@@ -96,7 +96,8 @@ my $svc_unprovision_link =
my $manage_link = $opt{'manage_link'};
my $manage_target = '';
if ( $part_svc->svcdb eq 'svc_broadband' and $manage_link ) {
- my $ip_addr = $svc_x->ip_addr; #substitution for $manage_link
+ my $ip_addr = $svc_x->ip_addr; #substitution for $manage_link
+ my $mac_addr = $svc_x->mac_addr; # ditto
$manage_link = eval(qq("$manage_link"));
$opt{'manage_link_text'} ||= mt('Manage Device');
$opt{'manage_link_loc'} ||= 'bottom';
-----------------------------------------------------------------------
Summary of changes:
FS/FS/Conf.pm | 2 +-
httemplate/elements/tr-cust_svc.html | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
More information about the freeside-commits
mailing list