summaryrefslogtreecommitdiff
path: root/httemplate/elements/menu.html
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/elements/menu.html')
-rw-r--r--httemplate/elements/menu.html13
1 files changed, 10 insertions, 3 deletions
diff --git a/httemplate/elements/menu.html b/httemplate/elements/menu.html
index 651b04d28..d0741596b 100644
--- a/httemplate/elements/menu.html
+++ b/httemplate/elements/menu.html
@@ -501,6 +501,10 @@ tie my %config_phone, 'Tie::IxHash',
'View/Edit bulk DID vendors' => [ $fsurl.'browse/did_vendor.html', 'Bulk DID vendors' ],
;
+tie my %config_nms, 'Tie::IxHash',
+ 'View/Edit virtual ports' => [ $fsurl.'browse/torrus_srvderive.html', '' ],
+;
+
tie my %config_misc, 'Tie::IxHash';
$config_misc{'Message templates'} = [ $fsurl.'browse/msg_template.html', 'Templates for customer notices' ]
if $curuser->access_right('Edit templates')
@@ -545,11 +549,14 @@ $config_menu{'Ticketing'} = [ \%config_ticketing, '' ]
if $conf->config('ticket_system')
&& FS::TicketSystem->access_right(\%session, 'ShowConfigTab');
$config_menu{'Dialup'} = [ \%config_dialup, '' ]
- if ( $curuser->access_right('Dialup configuration') );
+ if $curuser->access_right('Dialup configuration');
$config_menu{'Broadband'} = [ \%config_broadband, '' ]
- if ( $curuser->access_right('Broadband configuration') );
+ if $curuser->access_right('Broadband configuration');
$config_menu{'Phone'} = [ \%config_phone, '' ]
- if ( $curuser->access_right('Configuration') );
+ if $curuser->access_right('Configuration');
+$config_menu{'Network Monitoring'} = [ \%config_nms, '' ]
+ if $curuser->access_right('Configuration')
+ && $conf->config('network_monitoring_system') eq 'Torrus_Internal';
$config_menu{'Miscellaneous'} = [ \%config_misc, '' ]
if $curuser->access_right('Configuration' )
|| $curuser->access_right('Edit advertising sources')