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

<table cellpadding="3" cellspacing="0" border="0" width="200">
<tr><td bgcolor="#dddddd"><b><webwork:text name="'viewissue.subheading.commentdetails'"/></b></td></tr>
</table>

<webwork:if test="/commentObject">

<img src="<%= request.getContextPath() %>/images/bluepixel.gif" width="200" height="1" border="0" alt=""><br />

<table cellpadding="3" cellspacing="0" border="0">
<tr>
	<td valign="top" nowrap width="1%"><b><webwork:text name="'viewissue.comment.author'" />:</b></td>
	<td valign="top" width="100%">
        <webwork:if test="/commentObject/author != null">
			<a href="<webwork:url page="/secure/ViewProfile.jspa"><webwork:param name="'name'" value="/commentObject/author" /></webwork:url>"><webwork:property value="/commentObject/authorFullName" /></a>
		</webwork:if>
		<webwork:else>
			<webwork:text name="'common.words.anonymous'" />
		</webwork:else>
	</td>
</tr>
<tr>
	<td valign="top" nowrap><b><webwork:text name="'viewissue.comment.created'" />:</b></td>
	<td valign="top"><webwork:property value="/outlookDate/formatDMY(/commentObject/created)"/></td>
</tr>
<webwork:if test="/commentObject/created/equals(/commentObject/updated) == false">
<tr>
    <td valign="top" nowrap><b><webwork:text name="'viewissue.comment.update.author'" />:</b></td>
    <td valign="top">
        <webwork:if test="/commentObject/updateAuthor != null">
            <a href="<webwork:url page="/secure/ViewProfile.jspa"><webwork:param name="'name'" value="/commentObject/updateAuthor" /></webwork:url>"><webwork:property value="/commentObject/updateAuthorFullName" /></a>
        </webwork:if>
        <webwork:else>
            <webwork:text name="'common.words.anonymous'" />
        </webwork:else>
    </td>
</tr>
<tr>
	<td valign="top" nowrap><b><webwork:text name="'viewissue.comment.updated'" />:</b></td>
	<td valign="top"><webwork:property value="/outlookDate/formatDMY(/commentObject/updated)"/></td>
</tr>
</webwork:if>
    
<webwork:if test="/commentObject/level != null">
<tr>
    <td valign="top" nowrap><b><webwork:text name="'viewissue.comment.visibleby'"/>:</b></td>
	<td valign="top"><font color="#990000"><webwork:property value="/commentObject/level" /></font></td>
</tr>
</webwork:if>

</table>

</webwork:if>
<webwork:else>
    <p><webwork:text name="'viewissue.comment.could.not.retrieve'" /></p>
</webwork:else>

