[freeside-commits] branch master updated. b389ce7f754dc37af90f97e11f8ec5b0b6c09842

Mark Wells mark at 420.am
Wed Sep 4 14:20:55 PDT 2013


The branch, master has been updated
       via  b389ce7f754dc37af90f97e11f8ec5b0b6c09842 (commit)
      from  00de593a7e5b5b50aeec62c0ddb90db7bcd62f55 (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 b389ce7f754dc37af90f97e11f8ec5b0b6c09842
Author: Mark Wells <mark at freeside.biz>
Date:   Wed Sep 4 14:20:04 2013 -0700

    missing file

diff --git a/httemplate/view/svc_acct/router.html b/httemplate/view/svc_acct/router.html
new file mode 100644
index 0000000..59cfc86
--- /dev/null
+++ b/httemplate/view/svc_acct/router.html
@@ -0,0 +1,14 @@
+<%args>
+$svc_acct
+</%args>
+% if ( my $router = qsearchs('router', { svcnum => $svc_acct->svcnum }) ) {
+<& /view/elements/tr.html,
+  label => 'Attached router',
+  value => $router->routername
+&>
+% my $block = qsearchs('addr_block', { routernum => $router->routernum });
+<& /view/elements/tr.html,
+  label => 'Attached address block',
+  value => ($block ? $block->cidr : '<i>(none)</i>')
+&>
+% }

-----------------------------------------------------------------------

Summary of changes:
 httemplate/view/svc_acct/router.html |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)
 create mode 100644 httemplate/view/svc_acct/router.html




More information about the freeside-commits mailing list