#if ($displayParams && $displayParams.get('nolink'))
    #if ($subTask && $parentIssueKey)
        <span class="smallgrey">$parentIssueKey</span><br>
        #if (!${displayParams.excel_view})
            <img src="${requestContext.baseUrl}/images/icons/link_out_bot.gif" width="16" height="16" border="0" align="absmiddle" alt=""/>
        #end
    #end
    #if (${displayParams.excel_view})
        $textutils.htmlEncode($summary, false)
    #else
        $textutils.htmlEncode($summary)
    #end
#else
    #if ($subTask && $parentIssueKey)
        <a href="${requestContext.baseUrl}/browse/$parentIssueKey" class="parentIssue" title="$textutils.htmlEncode($parentIssueSummary)">$parentIssueKey</a><br>
        #if (!${displayParams.excel_view})
            <img src="${requestContext.baseUrl}/images/icons/link_out_bot.gif" width="16" height="16" border="0" align="absmiddle" alt=""/>
        #end
    #end
    #if (${displayParams.excel_view})
        <a href="${requestContext.baseUrl}/browse/${issue.getKey()}" style="text-decoration: none; ">$textutils.htmlEncode($summary, false)</a>
    #else
        <a href="${requestContext.baseUrl}/browse/${issue.getKey()}" style="text-decoration: none; ">$textutils.htmlEncode($summary)</a>
    #end
#end