From: ivan Date: Mon, 25 Apr 2011 16:57:23 +0000 (+0000) Subject: fix manage device link, RT#12589 X-Git-Tag: freeside_2_3_0~334 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=0301d1273aae53a35f428cff5a501849768befc8 fix manage device link, RT#12589 --- diff --git a/httemplate/elements/tr-cust_svc.html b/httemplate/elements/tr-cust_svc.html index e792ff350..79a3b298c 100644 --- a/httemplate/elements/tr-cust_svc.html +++ b/httemplate/elements/tr-cust_svc.html @@ -1,8 +1,22 @@ <%doc> tr-cust_svc - Short display of a customer service for use in view/cust_main. -Formerly part of view/cust_main/packages/services.html, moved here for -cleanliness. +Formerly part of view/cust_main/packages/services.html + +Usage: + + <% include('/elements/tr-cust_svc.html', + #required + 'part_svc' => $part_svc, + 'cust_svc' => $cust_svc, + 'cust_pkg' => $cust_pkg, + #optional + 'cust_pkg-display_times' => '', #bool + 'svc_broadband-manage_link' => '', + 'maestro-status_test' => '', + ) + %> + <% @@ -46,9 +60,10 @@ $cust_svc->overlimit ) ) %> ) % my $manage_link = $opt{'svc_broadband-manage_link'}; % if ( $manage_link ) { - ">Manage Device ) +% my $ip_addr = $svc_x->ip_addr; #substitution for $manage_link + ">Manage Device ) % } % } #svc_broadband % if ( $curuser->access_right('Unprovision customer service') ) {