<%@ include file="/includes.jsp" %>
<html xhtml="true">
	<head>
		<title>View changes</title>
		<html:base/>
		<link rel="icon" href="../images/emdt.ico" type="image/x-icon" />
		<link rel="stylesheet" href="../css/webapp.css" type="text/css" />
		<link rel="stylesheet" href="../css/tables.css" type="text/css" />
		<link rel="stylesheet" href="../css/dialog.css" type="text/css" />
	</head>
	<body>
		<br/>
		<table width="100%" cellpadding="0" cellspacing="0">
			<tr>
				<td align="center" valign="top" width="100%">
					<table class="table">
						<tr>
							<td colspan="4" class="dialogBox">Change Log</td>
						</tr>
						<tr>
							<th>User</th>
							<th>Date</th>
							<th>Category</th>
							<th>Message</th>
						</tr>
						<c:forEach var="record"  items="${auditLog}" varStatus="index">
							<tr>
								<td class="tableCell"><c:out value="${record.auditUserName}"/></td>
								<td class="tableCell" width="110"><fmt:formatDate value="${record.auditDate}" pattern="dd/MM/yyyy HH:mm"/></td>
								<td class="tableCell" width="110"><c:out value="${record.auditResult}"/></td>
								<td class="tableCell"><c:out value="${record.auditactionMessage}"/></td>
							</tr>
						</c:forEach>
					</table>
				</td>
			</tr>
		</table>
	</body>
</html>