summaryrefslogtreecommitdiff
path: root/rt/webrt/Admin/Global/Templates.html
blob: cf388e52165f4b0cdd23d6a2c63050b21baa8013 (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 system templates' &>
<& /Admin/Elements/SystemTabs &>

<& /Elements/TitleBoxStart, title => 'Edit system templates' &>
<UL>
<LI><A href="Template.html?create=1&Queue=0">Create a new template</A><BR><BR>


%while  (my $TemplateObj = $Templates->Next) { 

<LI><A HREF="Template.html?template=<%$TemplateObj->id()%>"><%$TemplateObj->id()%>/<%$TemplateObj->Name%>: <%$TemplateObj->Description%></a><BR>

%}

<& /Elements/TitleBoxEnd &>
<%INIT>

my $Templates = RT::Templates->new($session{'CurrentUser'});
$Templates->LimitToGlobal();

</%INIT>
<%ARGS>
$id => undef
</%ARGS>