X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fbrowse%2Fhardware_status.html;h=64ad5ad7fa3558eb2cc95d459c78ec09b6e94a86;hp=9695ed39989bd6ca3964b53157eef93f59e255ff;hb=20f03d52cc6c930f610c0b4466eeeeda54fdbb40;hpb=b65b8096089410001dfbcd35f9a56f9405b9f5f1 diff --git a/httemplate/browse/hardware_status.html b/httemplate/browse/hardware_status.html index 9695ed399..64ad5ad7f 100644 --- a/httemplate/browse/hardware_status.html +++ b/httemplate/browse/hardware_status.html @@ -2,6 +2,8 @@ 'title' => 'Hardware Statuses', 'name' => 'hardware statuses', 'menubar' => $menubar, + 'disableable' => 1, + 'disabled_statuspos' => 2, 'query' => { 'table' => 'hardware_status', }, 'count_query' => 'SELECT COUNT(*) FROM hardware_status', 'header' => [ '#', 'Status' ], @@ -14,7 +16,7 @@ my $curuser = $FS::CurrentUser::CurrentUser; die "access denied" - unless $curuser->access_right('Configuration'); + unless $curuser->access_right('Edit hardware classes and types'); my $menubar = [ 'Hardware classes' => $p.'browse/hardware_class.html', 'Add a status' => $p.'edit/hardware_status.html' ];