diff options
author | ivan <ivan> | 2010-05-21 00:09:40 +0000 |
---|---|---|
committer | ivan <ivan> | 2010-05-21 00:09:40 +0000 |
commit | 276c1e6f4efb7ba5568bee9189298bc1a757d34d (patch) | |
tree | 9639bb992d85aae630ce8a7b42a5466d9ddbafcf /httemplate | |
parent | f1cd7f98b487e74aa60b6c41d3377cc60f7ac25a (diff) |
agent virt inventory, RT#7010
Diffstat (limited to 'httemplate')
-rw-r--r-- | httemplate/edit/elements/svc_Common.html | 2 | ||||
-rw-r--r-- | httemplate/search/inventory_item.html | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/httemplate/edit/elements/svc_Common.html b/httemplate/edit/elements/svc_Common.html index 36950b2c9..e74f44276 100644 --- a/httemplate/edit/elements/svc_Common.html +++ b/httemplate/edit/elements/svc_Common.html @@ -79,6 +79,8 @@ $f->{'table'} = 'inventory_item'; $f->{'name_col'} = 'item'; $f->{'value_col'} = 'item'; + $f->{'agent_virt'} = 1; + $f->{'agent_null'} = 1; $f->{'hashref'} = { 'classnum'=>$columndef->columnvalue, #'svcnum' => '', diff --git a/httemplate/search/inventory_item.html b/httemplate/search/inventory_item.html index 80810caf9..681e5dbac 100644 --- a/httemplate/search/inventory_item.html +++ b/httemplate/search/inventory_item.html @@ -3,6 +3,9 @@ 'menubar' => [ 'View inventory classes' => $p.'browse/inventory_class.html', + 'Upload '. PL($inventory_class->classname)=> + $p.'misc/inventory_item-import.html?'. + "classnum=$classnum" ], 'name' => PL($inventory_class->classname), |