userboard table list article

This commit is contained in:
Nicolas Michard
2008-02-25 23:13:23 +00:00
parent 605b150fe8
commit 90f615cbab

View File

@@ -145,11 +145,22 @@ function showArticleReferee() {
<div id="articleList" style="display: none;">
<table width="100%" align="center">
<tbody>
<tbody>
<tr bgcolor="#FFCE64">
<td align="center" width="25%">Title</td>
<td align="center" width="10%">State</td>
<td align="center" width="45%">Conference</td>
<td align="center" width="20%">Download</td>
</tr>
<c:forEach var="article" items="${listAllArticle}" varStatus="i">
<tr>
<td align="center" width="25%">${article.title}</td>
<td align="center" width="25%">
<td align="left">
<span title="${article.title }">${fn:substring(article.title, 0, 40)}
<c:if test="${fn:length(article.title) > 41}">
...
</c:if></span>
</td>
<td>
<c:if test="${article.state == 'SUBMITED'}">
Submitted
</c:if>
@@ -163,10 +174,15 @@ function showArticleReferee() {
Accepted
</c:if>
</td>
<td align="center" width="25%">
<a href="chooseConference.htm?idConf=${article.conference.id}">${article.conference.title}</a>
<td align="left">
<a href="chooseConference.htm?idConf=${article.conference.id}" title="${article.conference.title }">
${fn:substring(article.conference.title, 0, 45)}
<c:if test="${fn:length(article.conference.title) > 46}">
...
</c:if>
</a>
</td>
<td align="center" width="25%">
<td>
<a class="manage_link" id="articleURL" title="Download" href="<c:url value="/download.htm"><c:param name="articleId" value="${article.id}"/></c:url>">Download<img src="./images/cc-download_manager-32x32.png" alt="Download" /></a>
</td>
</tr>
@@ -216,35 +232,51 @@ function showArticleReferee() {
<div id="articleListReferee" style="display: none;">
<table width="100%" align="center">
<tbody>
<c:forEach var="article" items="${listArticleReferee}" varStatus="i">
<tr>
<td align="center" width="25%">${article.title}</td>
<td align="center" width="25%">
<c:if test="${article.evaluated == false}">
<c:if test="${article.state != 'REJECTED' and article.state != 'ACCEPTED'}">
To evaluate
</c:if>
</c:if>
<c:if test="${article.evaluated == true}">
<c:if test="${article.state != 'REJECTED' and article.state != 'ACCEPTED'}">
Evaluated
</c:if>
</c:if>
<c:if test="${article.state == 'REJECTED'}">
Rejected
</c:if>
<c:if test="${article.state == 'ACCEPTED'}">
Accepted
</c:if>
</td>
<td align="center" width="25%">
<a href="chooseConference.htm?idConf=${article.conference.id}">${article.conference.title}</a>
</td>
<td align="center" width="25%">
<a class="manage_link" id="articleURL" title="Download" href="<c:url value="/download.htm"><c:param name="articleId" value="${article.id}"/></c:url>">Download<img src="./images/cc-download_manager-32x32.png" alt="Download" /></a>
</td>
<table width="100%" align="center">
<tr bgcolor="#FFCE64">
<td align="center" width="25%">Title</td>
<td align="center" width="10%">State</td>
<td align="center" width="45%">Conference</td>
<td align="center" width="20%">Download</td>
</tr>
<tbody>
<c:forEach var="article" items="${listArticleReferee}" varStatus="i">
<tr>
<td align="left">
<span title="${article.title }">${fn:substring(article.title, 0, 40)}
<c:if test="${fn:length(article.title) > 41}">
...
</c:if></span>
</td>
<td>
<c:if test="${article.evaluated == false}">
<c:if test="${article.state != 'REJECTED' and article.state != 'ACCEPTED'}">
To evaluate
</c:if>
</c:if>
<c:if test="${article.evaluated == true}">
<c:if test="${article.state != 'REJECTED' and article.state != 'ACCEPTED'}">
Evaluated
</c:if>
</c:if>
<c:if test="${article.state == 'REJECTED'}">
Rejected
</c:if>
<c:if test="${article.state == 'ACCEPTED'}">
Accepted
</c:if>
</td>
<td align="left">
<a href="chooseConference.htm?idConf=${article.conference.id}" title="${article.conference.title }">
${fn:substring(article.conference.title, 0, 45)}
<c:if test="${fn:length(article.conference.title) > 46}">
...
</c:if>
</a>
</td>
<td>
<a class="manage_link" id="articleURL" title="Download" href="<c:url value="/download.htm"><c:param name="articleId" value="${article.id}"/></c:url>">Download<img src="./images/cc-download_manager-32x32.png" alt="Download" /></a>
</td>
</tr>
</c:forEach>
</tbody>
@@ -293,21 +325,32 @@ function showArticleReferee() {
<div id="articleListPcMember" style="display: none;">
<table width="100%" align="center">
<table width="100%" align="center">
<tr bgcolor="#FFCE64">
<td align="center" width="25%">Title</td>
<td align="center" width="20%">Delegated to...</td>
<td align="center" width="10%">State</td>
<td align="center" width="25%">Conference</td>
<td align="center" width="20%">Download</td>
</tr>
<tbody>
<c:forEach var="article" items="${listArticlePCMember}" varStatus="i">
<tr>
<td align="center" width="25%">${article.title}</td>
<td align="center" width="25%">
<td align="left">
<span title="${article.title }">${fn:substring(article.title, 0, 30)}
<c:if test="${fn:length(article.title) > 31}">
...
</c:if></span>
</td>
<td>
<c:choose>
<c:when test="${not empty article.referee}">
Delegated to:<br />
<c:forEach var="referee" items="${article.referee}">
${referee.firstName} ${referee.lastName}<br/>
</c:forEach>
</c:when>
<c:otherwise>
&nbsp;
-
</c:otherwise>
</c:choose>
</td>
@@ -328,12 +371,17 @@ function showArticleReferee() {
<c:if test="${article.state == 'ACCEPTED'}">
Accepted
</c:if>
</td>
<td align="center" width="25%">
<a href="chooseConference.htm?idConf=${article.conference.id}">${article.conference.title}</a>
</td>
<td align="center" width="25%">
<a class="manage_link" id="articleURL" title="Download" href="<c:url value="/download.htm"><c:param name="articleId" value="${article.id}"/></c:url>">Download<img src="./images/cc-download_manager-32x32.png" alt="Download" /></a>
</td>
<td align="left">
<a href="chooseConference.htm?idConf=${article.conference.id}" title="${article.conference.title }">
${fn:substring(article.conference.title, 0, 27)}
<c:if test="${fn:length(article.conference.title) > 281}">
...
</c:if>
</a>
</td>
<td align="right">
<a class="manage_link" id="articleURL" title="Download" href="<c:url value="/download.htm"><c:param name="articleId" value="${article.id}"/></c:url>">Download<img src="./images/cc-download_manager-32x32.png" alt="Download" /></a>
</td>
</tr>
</c:forEach>