summaryrefslogtreecommitdiff
path: root/httemplate/edit
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/edit')
-rw-r--r--httemplate/edit/elements/edit.html3
-rw-r--r--httemplate/edit/pkg_category.html9
2 files changed, 10 insertions, 2 deletions
diff --git a/httemplate/edit/elements/edit.html b/httemplate/edit/elements/edit.html
index f00345434..acfa8c597 100644
--- a/httemplate/edit/elements/edit.html
+++ b/httemplate/edit/elements/edit.html
@@ -327,6 +327,9 @@ Example:
% #umm. for select-agent_types at least
% 'label_callback'=> $f->{'label_callback'},
%
+% #for select-ticketing_queueid at least
+% 'post_options' => $f->{'post_options'},
+%
% #any?
% 'colspan' => $f->{'colspan'},
% 'required' => $f->{'required'},
diff --git a/httemplate/edit/pkg_category.html b/httemplate/edit/pkg_category.html
index 3be74c7f5..0034dd894 100644
--- a/httemplate/edit/pkg_category.html
+++ b/httemplate/edit/pkg_category.html
@@ -4,13 +4,18 @@
'fields' => [
'categoryname',
'weight',
- { field=>'condense', type=>'checkbox', value=>'Y', },
- { field=>'disabled', type=>'checkbox', value=>'Y', },
+ { field=>'ticketing_queueid',
+ type =>'select-ticketing_queueid',
+ post_options => [ -1 => 'Agent-specific queue' ],
+ },
+ { field=>'condense', type=>'checkbox', value=>'Y' },
+ { field=>'disabled', type=>'checkbox', value=>'Y' },
],
'labels' => {
'categorynum' => 'Category number',
'categoryname' => 'Category name',
'weight' => 'Weight',
+ 'ticketing_queueid' => 'Ticketing queue',
'condense' => 'Collapse identical items to one',
'disabled' => 'Disable category',
},