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

<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%">
        <jira:formatuser user="/commentObject/author" type="'profileLink'" id="'comment_summary'"/>
	</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">
        <jira:formatuser user="/commentObject/updateAuthor" type="'profileLink'" id="'comment_summary_updated'"/>
    </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>

