<%@ 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" title="${conferenceReport.title}">
				${fn:substring(conferenceReport.title, 0, 40)}
		<c:if test="${fn:length(conferenceReport.title) > 41}">
		...
		</c:if>
		</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="dateTitle">Submission Informations</h3>
		<div class="textBox">
			<c:if test="${conferenceReport.pageNumber == 0}">
				The number of pages for an article is undefined.<br/><br/>
			</c:if>
			<c:if test="${conferenceReport.pageNumber != 0}">
				The number of pages for an article is about ${conferenceReport.pageNumber}.<br/><br/>
			</c:if>
			
			The following file's type are allowed:&nbsp;
			<c:choose>
			<c:when test="${conferenceReport.typePDF == true or conferenceReport.typeLatec == true or conferenceReport.typeWord == true or conferenceReport.typeODT == true}">
				<c:if test="${conferenceReport.typePDF == true}">
					<b>.pdf&nbsp;</b>
				</c:if>
				<c:if test="${conferenceReport.typeLatec == true}">
					<b>.tex&nbsp;</b>
				</c:if>
				<c:if test="${conferenceReport.typeWord == true}">
					<b>.doc&nbsp;.docx&nbsp;</b>
				</c:if>
				<c:if test="${conferenceReport.typeODT == true}">
					<b>.odt&nbsp;</b>
				</c:if>
			</c:when>
			<c:otherwise>
				<b>Any file's type.</b>
			</c:otherwise>
			</c:choose>
			
			<br /><br />
			Other informations about the submission: <b>${conferenceReport.sendInfo}</b>
			
		</div>

		<h3 class="descriptionTitle">Criterion</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 <b>${crit.min_rating}</b> to <b>${crit.max_rating}</b><br />
		</c:forEach>
		</div>
		
		<h3 class="descriptionTitle">User</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>
