summaryrefslogtreecommitdiff
path: root/httemplate/edit/process/torrus_srvderive.html
blob: d7aacffca44528dd4888812b0d21f4d893f14221 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<% include( 'elements/process.html',
               'table'       => 'torrus_srvderive',
               'viewall_dir' => 'browse',
               'process_m2name' => {
                     'link_table'   => 'torrus_srvderive_component',
                     'num_col'      => 'derivenum',
                     'name_col'     => 'serviceid',
                     'names_list'   => \@serviceids,
                     'param_style'  => 'link_table.value checkboxes',
               },
           )
%>
<%init>

die "access denied"
  unless $FS::CurrentUser::CurrentUser->access_right('Configure network monitoring');

my $nms = new FS::NetworkMonitoringSystem;
my @serviceids = $nms->torrus_serviceids;

</%init>