<%@ page contentType="text/html; charset=UTF-8"%><%@ include file="/WEB-INF/jspf/include/taglibs.jsp"%>

<div style="margin: 10px auto;"><button class="btn btn-secondary" onclick="showBlock( 'notificationRoot', 'list', notificationQuery ); return false;">К списку...</button></div>			

<c:if test="${not empty contractNotification}">
	<div class="tile notification">
		<div class="paramColor paramFont dateAlign notificationDate"><fmt:formatDate type="BOTH" dateStyle="LONG" timeStyle="SHORT" value="${contractNotification.dateTime}"/></div>
		<div class="titleFont3 titleAlign titleColor notificationTitle">${contractNotification.subject}</div>
		<div class="notificationBody">${contractNotification.message}</div>
		<div class="formButtons"><button class="btn btn-primary" onclick="showBlock( 'notificationRoot', 'delete', { ...notificationQuery, id: '${contractNotification.id}' } );">Удалить</button></div>
	</div>
</c:if>
