<%@ include file="/WEB-INF/decorators/include.jsp"%>

<html>
<head>
</head>
<body>
	<h4 class="title">Conference created</h4>
	
	<p class="formOk">
	Your conference has been successfully created.<br/>
	Here is a report of the conference's informations.<br/><br/>
	At any moment you can edit the configuration of the conference using the item menu "Modify this conference".<br/>
	If you want to modify it now, just click <a href="addConference.htm?action=modify" title="Modify the conference">here</a><br/>
	</p>
	
	
		<center><h2 class="maintitle">${conferenceReport.title}</h2></center>
		<h3 class="descriptionTitle"><fmt:message key="conference.detail.description" /></h3>
		<div class="textBox">
			${conferenceReport.description }
		</div>
		<h3 class="descriptionTitle"><fmt:message key="conference.detail.other" /></h3>
		<div class="textBox">
			<c:choose>
				<c:when test="${conferenceReport.otherInformations != null}">
					<c:if test="${conferenceReport.otherInformations == ''}">
						<fmt:message key="conference.detail.nosuppl" />
					</c:if>
					${conferenceReport.otherInformations }
				</c:when>
			</c:choose>
		</div>
		<h3 class="dateTitle"><fmt:message key="conference.detail.date.title" /></h3>
		<div class="textBox">
			<b><fmt:message key="conference.detail.date.start" /></b>&nbsp;<fmt:formatDate value="${conferenceReport.dateStart }" dateStyle="long" /><br />
			<b><fmt:message key="conference.detail.date.end" /></b>&nbsp;<fmt:formatDate value="${conferenceReport.dateEnd }" dateStyle="long" /><br /><br />
			<b><fmt:message key="conference.detail.date.article" /></b>&nbsp;<fmt:formatDate value="${conferenceReport.dateArticle }" dateStyle="long" /><br />
			<b><fmt:message key="conference.detail.date.evaluation" /></b>&nbsp;<fmt:formatDate value="${conferenceReport.dateEvaluation }" dateStyle="long" /><br />
		</div>

		<h3 class="descriptionTitle"></h3>
		<div class="textBox">
		<c:if test="${not empty criterionReport}">
			<b>Criterion's list </b><br />
		</c:if>
		<c:forEach items="${criterionReport}" var="crit">
			${crit.name} From ${crit.min_rating} to ${crit.max_rating}<br />
		</c:forEach>
		</div>
		
		<h3 class="descriptionTitle"></h3>
		<div class="textBox">
		<b>Chairman:</b> ${conferenceReport.chairman.firstName} ${conferenceReport.chairman.lastName}<br /><br />
		<c:if test="${not empty userReport}">
			<b>PCmember's list </b><br />
		</c:if>
		<c:forEach items="${userReport}" var="user">
			${user.firstName} ${user.lastName}<br />
		</c:forEach>
		</div>
		
</body>
</html>
