projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RT 4.0.13
[freeside.git]
/
rt
/
share
/
html
/
Admin
/
Queues
/
Template.html
diff --git
a/rt/share/html/Admin/Queues/Template.html
b/rt/share/html/Admin/Queues/Template.html
index
3dd99e1
..
50c29dc
100755
(executable)
--- a/
rt/share/html/Admin/Queues/Template.html
+++ b/
rt/share/html/Admin/Queues/Template.html
@@
-2,7
+2,7
@@
%#
%# COPYRIGHT:
%#
%#
%# COPYRIGHT:
%#
-%# This software is Copyright (c) 1996-201
2
Best Practical Solutions, LLC
+%# This software is Copyright (c) 1996-201
3
Best Practical Solutions, LLC
%# <sales@bestpractical.com>
%#
%# (Except where explicitly superseded by other copyright notices)
%# <sales@bestpractical.com>
%#
%# (Except where explicitly superseded by other copyright notices)
@@
-79,7
+79,7
@@
my @results;
if ( !$Create ) {
if ( $Template eq 'new' ) {
my ( $val, $msg )
if ( !$Create ) {
if ( $Template eq 'new' ) {
my ( $val, $msg )
- = $TemplateObj->Create( Queue => $Queue, Name => $Name );
+ = $TemplateObj->Create( Queue => $Queue, Name => $Name
, Type => $Type
);
Abort( loc( "Could not create template: [_1]", $msg ) ) unless ($val);
push @results, $msg;
} else {
Abort( loc( "Could not create template: [_1]", $msg ) ) unless ($val);
push @results, $msg;
} else {
@@
-92,7
+92,7
@@
if ( $TemplateObj->Id() ) {
$Queue = $TemplateObj->Queue;
$QueueObj = $TemplateObj->QueueObj;
$Queue = $TemplateObj->Queue;
$QueueObj = $TemplateObj->QueueObj;
- my @attribs = qw(
Description Content Queue Name Type
);
+ my @attribs = qw(
Name Description Queue Type Content
);
my @aresults = UpdateRecordObject( AttributesRef => \@attribs,
Object => $TemplateObj,
ARGSRef => \%ARGS
my @aresults = UpdateRecordObject( AttributesRef => \@attribs,
Object => $TemplateObj,
ARGSRef => \%ARGS
@@
-121,4
+121,5
@@
$Queue => ''
$Template => ''
$Create => undef
$Name => undef
$Template => ''
$Create => undef
$Name => undef
+$Type => undef
</%ARGS>
</%ARGS>