summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate')
-rw-r--r--httemplate/browse/part_device.html7
-rw-r--r--httemplate/edit/part_device.html2
-rw-r--r--httemplate/view/svc_phone.cgi2
3 files changed, 9 insertions, 2 deletions
diff --git a/httemplate/browse/part_device.html b/httemplate/browse/part_device.html
index 69387dd16..12c19ed90 100644
--- a/httemplate/browse/part_device.html
+++ b/httemplate/browse/part_device.html
@@ -8,7 +8,10 @@
],
'query' => { 'table' => 'part_device', },
'count_query' => 'SELECT COUNT(*) FROM part_device',
- 'header' => [ '#', 'Device type', 'Inventory Class', ],
+ 'header' => [ '#',
+ 'Device type',
+ 'Inventory Class',
+ 'External name', ],
'fields' => [ 'devicepart',
'devicename',
sub {
@@ -18,10 +21,12 @@
if $inventory_class;
'';
},
+ 'title',
],
'links' => [ $link,
$link,
'',
+ '',
],
)
%>
diff --git a/httemplate/edit/part_device.html b/httemplate/edit/part_device.html
index 1317c8d1c..75e6b0aa5 100644
--- a/httemplate/edit/part_device.html
+++ b/httemplate/edit/part_device.html
@@ -5,6 +5,7 @@
'devicepart' => 'Part number',
'devicename' => 'Device name',
'inventory_classnum' => 'Inventory class',
+ 'title' => 'External name',
},
'fields' => \@fields,
'viewall_dir' => 'browse',
@@ -34,6 +35,7 @@ foreach my $inventory_class ( @inventory_classes ) {
my @fields;
push @fields, 'devicename',
+ 'title',
{ field => 'inventory_classnum',
type => 'select',
options => \@inventory_classnums,
diff --git a/httemplate/view/svc_phone.cgi b/httemplate/view/svc_phone.cgi
index aca412969..b71e094ad 100644
--- a/httemplate/view/svc_phone.cgi
+++ b/httemplate/view/svc_phone.cgi
@@ -146,7 +146,7 @@ my $html_foot = sub {
###
$e911.
- $devices.
+ #$devices.
$status.
join(' | ', @links ). '<BR>'.
join(' | ', @ilinks). '<BR>';