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

<webwork:if test="(applicationProperties/option('jira.option.issuelinking') == true && linkCollection/displayLinkPanel == true)">
<tr>
	<td bgcolor="f0f0f0" width="20%" valign="top">
        <a href="<%=request.getContextPath()%>/secure/ManageLinks.jspa?id=<webwork:property value="id" />" title="<webwork:text name="'viewissue.links.view.more.details'"/>"><b><webwork:text name="'common.concepts.issuelinks'"/>:</b></a>
    </td>
	<td bgcolor="ffffff" valign="top" colspan="5" class="noPadding">
		<table cellpadding="4" cellspacing="0" border="0" width="100%">
		<webwork:iterator value="linkCollection/linkTypes">
        <webwork:if test="/linkCollection/outwardIssues(./name)/empty == false || /linkCollection/inwardIssues(./name)/empty == false">
            <tr>
                <td colspan="2" bgcolor="f0f0f0">
                    <b><webwork:property value="./name" /></b><br>
                </td>
            </tr>
            <tr>
                <jsp:include page="/includes/panels/issue/linking/outward.jsp" />
                <jsp:include page="/includes/panels/issue/linking/inward.jsp" />
            </tr>
        </webwork:if>
		</webwork:iterator>
		</table>
	</td>
</tr>
</webwork:if>
