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

@@ -146,10 +146,21 @@ function showArticleReferee() {
<div id="articleList" style="display: none;"> <div id="articleList" style="display: none;">
<table width="100%" align="center"> <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"> <c:forEach var="article" items="${listAllArticle}" varStatus="i">
<tr> <tr>
<td align="center" width="25%">${article.title}</td> <td align="left">
<td align="center" width="25%"> <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'}"> <c:if test="${article.state == 'SUBMITED'}">
Submitted Submitted
</c:if> </c:if>
@@ -163,10 +174,15 @@ function showArticleReferee() {
Accepted Accepted
</c:if> </c:if>
</td> </td>
<td align="center" width="25%"> <td align="left">
<a href="chooseConference.htm?idConf=${article.conference.id}">${article.conference.title}</a> <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>
<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> <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>
</tr> </tr>
@@ -217,11 +233,22 @@ function showArticleReferee() {
<div id="articleListReferee" style="display: none;"> <div id="articleListReferee" 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="10%">State</td>
<td align="center" width="45%">Conference</td>
<td align="center" width="20%">Download</td>
</tr>
<tbody> <tbody>
<c:forEach var="article" items="${listArticleReferee}" varStatus="i"> <c:forEach var="article" items="${listArticleReferee}" varStatus="i">
<tr> <tr>
<td align="center" width="25%">${article.title}</td> <td align="left">
<td align="center" width="25%"> <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.evaluated == false}">
<c:if test="${article.state != 'REJECTED' and article.state != 'ACCEPTED'}"> <c:if test="${article.state != 'REJECTED' and article.state != 'ACCEPTED'}">
To evaluate To evaluate
@@ -239,10 +266,15 @@ function showArticleReferee() {
Accepted Accepted
</c:if> </c:if>
</td> </td>
<td align="center" width="25%"> <td align="left">
<a href="chooseConference.htm?idConf=${article.conference.id}">${article.conference.title}</a> <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>
<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> <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>
</tr> </tr>
@@ -294,20 +326,31 @@ function showArticleReferee() {
<div id="articleListPcMember" style="display: none;"> <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> <tbody>
<c:forEach var="article" items="${listArticlePCMember}" varStatus="i"> <c:forEach var="article" items="${listArticlePCMember}" varStatus="i">
<tr> <tr>
<td align="center" width="25%">${article.title}</td> <td align="left">
<td align="center" width="25%"> <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:choose>
<c:when test="${not empty article.referee}"> <c:when test="${not empty article.referee}">
Delegated to:<br />
<c:forEach var="referee" items="${article.referee}"> <c:forEach var="referee" items="${article.referee}">
${referee.firstName} ${referee.lastName}<br/> ${referee.firstName} ${referee.lastName}<br/>
</c:forEach> </c:forEach>
</c:when> </c:when>
<c:otherwise> <c:otherwise>
&nbsp; -
</c:otherwise> </c:otherwise>
</c:choose> </c:choose>
</td> </td>
@@ -329,10 +372,15 @@ function showArticleReferee() {
Accepted Accepted
</c:if> </c:if>
</td> </td>
<td align="center" width="25%"> <td align="left">
<a href="chooseConference.htm?idConf=${article.conference.id}">${article.conference.title}</a> <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>
<td align="center" width="25%"> <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> <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>
</tr> </tr>