2 my $queues = RT::Queues->new($session{'CurrentUser'});
6 <&| /m/_elements/wrapper, title => loc("Create a ticket") &>
7 <div class="select_queue">
8 <&|/Widgets/TitleBox, title => loc("Select a queue") &>
10 % while (my $q = $queues->Next()) {
11 % next if (! $q->CurrentUserHasRight('CreateTicket'));
12 <li><a href="<%RT->Config->Get('WebPath')%>/m/ticket/create?Queue=<%$q->id%>"><%$q->Name%></a></li>