[freeside-commits] branch master updated. d2cc614910c251801564615a268c7ca3bdb2c954
Ivan Kohler
ivan at freeside.biz
Tue May 8 15:43:41 PDT 2018
The branch, master has been updated
via d2cc614910c251801564615a268c7ca3bdb2c954 (commit)
from aa20afbcdd752835076600f1ba8dc3e173efe523 (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 d2cc614910c251801564615a268c7ca3bdb2c954
Author: Ivan Kohler <ivan at freeside.biz>
Date: Tue May 8 15:43:40 2018 -0700
show account services in address block list too, RT#79825
diff --git a/httemplate/browse/addr_block.cgi b/httemplate/browse/addr_block.cgi
index ba40bfd43..9e7ef2af2 100644
--- a/httemplate/browse/addr_block.cgi
+++ b/httemplate/browse/addr_block.cgi
@@ -17,12 +17,13 @@
'',
],
'fields' => [ 'NetAddr',
- sub { my $block = shift;
- my $router = $block->router;
+ sub { my $b = shift;
+ my $router = $b->router;
my $result = '';
if ($router) {
- $result .= $router->routername. ' (';
- $result .= scalar($block->svc_broadband). ' services)';
+ $result .= $router->routername. ' ('.
+ scalar($b->svc_broadband). ' broadband, '.
+ scalar($b->svc_acct). ' account services)';
}
$result;
},
-----------------------------------------------------------------------
Summary of changes:
httemplate/browse/addr_block.cgi | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
More information about the freeside-commits
mailing list