<%@ taglib uri="webwork" prefix="webwork" %>

<webwork:if test="applicationProperties/option('jira.option.trackback.receive') == true && trackbacks/size > 0">
<tr>
	<td bgcolor="f0f0f0" width="20%" valign="top">
		<b><webwork:text name="'common.concepts.trackbacks'"/>:</b>

		<webwork:if test="/hasIssuePermission('delete', /issue) == true">
		<br>
		<a href="<%=request.getContextPath()%>/secure/ManageTrackbacks.jspa?id=<webwork:property value="id" />"><webwork:text name="'trackback.manage.title'"/></a>
		</webwork:if>
	</td>
	<td bgcolor=ffffff valign=top colspan=5>
	<webwork:iterator value="trackbacks">
    <div class="trackback">
        <div class="trackbackheader">
            <img border="0" src="<%=request.getContextPath()%>/images/icons/document_exchange.gif" width=16 height=16 align=absmiddle>
            <span class="trackbacklink"><a href="<webwork:property value="url"/>"><webwork:property value="title"/></a></span>
            <span class="trackbackblogname">(<webwork:property value="blogName"/>)</span>
        </div>
    <webwork:if test="excerpt">
        <div class="trackbackexcerpt"><webwork:property value="excerpt" /></div>
    </webwork:if>
    </div>
    </webwork:iterator>

	</td>
</tr>
</webwork:if>
