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

<fmt:setLocale value="RU"/>

<bg:blockTitle title="История изменений"/>

<c:if test="${not empty statuses}">
<c:forEach var="item" varStatus="status" items="${statuses}">
<div style="margin: 10px;">
	<div class="paramColor paramFont statusParam"><div style="display: inline-block; width: 5em;">Статус:</div><span>${statusMap[item.status]}</span></div>
	<div class="paramColor paramFont statusParam"><div style="display: inline-block; width: 5em;">Период:</div><span><fmt:formatDate type="DATE" dateStyle="SHORT" value="${item.dateFrom}"/> - <fmt:formatDate type="DATE" dateStyle="SHORT" value="${item.dateTo}"/></span></div>
	<div class="paramColor paramFont statusParam" style="padding-left: 5em; margin-top: 5px;"><span>${item.comment}</span></div>
</div>
<c:if test="${not status.last}"><div class="line"></div></c:if>
</c:forEach>
</c:if>
