diff options
author | ivan <ivan> | 2011-12-19 01:59:16 +0000 |
---|---|---|
committer | ivan <ivan> | 2011-12-19 01:59:16 +0000 |
commit | 0e845fa6f04733d82ea8ca092c7778aef773ab5d (patch) | |
tree | 88ef06630fd6ac5930e015271cd5f2851b2cfa5d /httemplate/view | |
parent | a69c2b61cdf4e866e36bab91de1dd71666e7cfb7 (diff) |
tower for svc_acct, RT#15538
Diffstat (limited to 'httemplate/view')
-rw-r--r-- | httemplate/view/svc_acct/basics.html | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/httemplate/view/svc_acct/basics.html b/httemplate/view/svc_acct/basics.html index 6adebc6ce..8f180b648 100644 --- a/httemplate/view/svc_acct/basics.html +++ b/httemplate/view/svc_acct/basics.html @@ -42,6 +42,17 @@ <& /view/elements/tr.html, label=>mt('Access number'), value=>$svc_acct_pop->text &> % } +% if ( $svc_acct->sectornum && $conf->exists('svc_acct-tower_sector') ) { +% my $tower_sector = $svc_acct->tower_sector; +% my $link = $tower_sector->ip_addr +% ? '<A HREF="http://'. $tower_sector->ip_addr. '">' +% : ''; + <& /view/elements/tr.html, + label => mt('Tower sector'), + value => $link. $tower_sector->description. ($link ? '</A>' : ''), + &> +% } + % if ($svc_acct->uid ne '') { <& /view/elements/tr.html, label=>mt('UID'), value=>$svc_acct->uid &> % } |