blob: 218d41dc9e8fb66cc440ca7e6fea84594c625fb8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
<& /Admin/Elements/Header, Title => 'Edit templates for '.$Queue->Name &>
<& /Admin/Elements/QueueTabs, id => $Queue->id &>
<& /Elements/TitleBoxStart, title => 'Edit templates for '.$Queue->Name &>
<UL>
<LI><A href="Template.html?create=1&Queue=<%$Queue->id%>">Create a new template</A><BR><BR>
%while (my $TemplateObj = $Templates->Next) {
<LI><A HREF="Template.html?Queue=<%$id%>&template=<%$TemplateObj->id()%>"><%$TemplateObj->id()%>/<%$TemplateObj->Name%>: <%$TemplateObj->Description%></a><BR>
%}
<& /Elements/TitleBoxEnd &>
<%INIT>
my $Queue = new RT::Queue($session{'CurrentUser'});
$Queue->Load($id);
my $Templates = $Queue->Templates;
</%INIT>
<%ARGS>
$id => undef
</%ARGS>
|