Small modification to the way styles are assigned to authors in author listing on add authors form

This commit is contained in:
rjy7 2010-08-19 14:41:14 +00:00
parent 79cf12f974
commit 03f2cdcf8c
3 changed files with 11 additions and 15 deletions

View file

@ -308,7 +308,7 @@ SPARQL queries for existing values. --%>
Collections.sort(authorships, comp);
int maxRank = 0;
int authorshipCount = 0;
int authorshipCount = authorships.size();
// for ( ObjectPropertyStatement stmt : authorshipStmts) {
// Individual authorship = stmt.getObject();
@ -319,7 +319,6 @@ SPARQL queries for existing values. --%>
<%
for ( Individual authorship : authorships ) {
authorshipCount++;
request.setAttribute("authorshipUri", authorship.getURI());
request.setAttribute("authorshipName", authorship.getName());
@ -339,7 +338,8 @@ SPARQL queries for existing values. --%>
request.setAttribute("rankValue", rankValue);
request.setAttribute("numericRank", numericRank);
request.setAttribute("author", authorship.getRelatedIndividual(vivoCore + "linkedAuthor"));
request.setAttribute("author", authorship.getRelatedIndividual(vivoCore + "linkedAuthor"));
%>
<li class="authorship">
<%-- span.author will be used in the next phase, when we display a message that the author has been