<& /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>
