%# "I'm willing to sacrifice anything for this cause, even other people's lives"

<tr><td valign="top"><nobr><img src="/img/3Dtoolbar.png" width="3" height="18" align="absmiddle"> 
<% $Text %>&nbsp;</nobr></td>
<td valign="top"><img src="/img/arrow_DarkBlue.png" width="5" height="9" align="absmiddle"></td><td><ul style="list-style-type: none; padding-left: <% $RT::OIN104 ? '0px; margin-left: 0px': '10px' %>">
% while (my $Link = $Links->Next) {
%    if ($Method !~ /URI/) {
<li><% $Link->$Method %>
%        next;
%    }
<li>
% my $URI = $Link->$Method;
% my $_a = '';
% unless ($URI->IsLocal and UNIVERSAL::isa($URI->Object, "RT::Ticket") and $URI->Object->Type ne 'ticket') {
<A href="<%$URI->Resolver->HREF%>">
%    $_a = '</a>';
% }
% if ($URI->IsLocal) {
% my $member = $URI->Object;
% if (UNIVERSAL::isa($member, "RT::Ticket")) {
%   my $active = RT::Queue->IsActiveStatus($member->Status);
%   my $name = $member->OwnerObj->Name;
<% $active ? '' : '<del>' |n %><%$member->Id%>: <% ($name eq 'Nobody') ? '' : "($name) " %><%$member->Subject%><% $active ? '' : '</del>' |n %><% $_a |n %> [<%loc($member->Status)%>]<br>
% } elsif ( UNIVERSAL::can($member, 'Name')) {
<%$URI->Resolver->AsString%>: <%$member->Name%><% $_a |n %>
% } else {
<%$URI->Resolver->AsString%><% $_a |n %>
% }
% } else {
<%$URI->Resolver->AsString%><% $_a |n %>
% }
% }
</ul>
</td></tr>
<%INIT>
return unless $Links and $Links->Count;
</%INIT>
<%ARGS>
$Text
$Links
$Method
</%ARGS>
