diff --git a/productMods/edit/forms/addAuthorsToInformationResource.jsp b/productMods/edit/forms/addAuthorsToInformationResource.jsp index 5a234aa4..f5585c3e 100644 --- a/productMods/edit/forms/addAuthorsToInformationResource.jsp +++ b/productMods/edit/forms/addAuthorsToInformationResource.jsp @@ -330,11 +330,8 @@ SPARQL queries for existing values. --%> } } request.setAttribute("rankValue", rankValue); - - Individual author = authorship.getRelatedIndividual(vivoCore + "linkedAuthor"); - if ( author != null ) { - request.setAttribute("author", author); - } + + request.setAttribute("author", authorship.getRelatedIndividual(vivoCore + "linkedAuthor")); // This value is used to replace a moved element after a failed reorder. // It's not the same as rank, because ranks may have gaps. @@ -347,18 +344,22 @@ SPARQL queries for existing values. --%> <%-- span.author will be used in the next phase, when we display a message that the author has been removed. That text will replace the a.authorLink, which will be removed. --%> + + + + + + ${author.name} + -<% if (author != null) { // c:choose not working here, don't know why %> - - - - ${author.name} -<% } else { %> - - - - ${authorshipName} (no linked author) -<% } %> + + + + + ${authorshipName} (no linked author) + + + Remove <%-- Undo --%> diff --git a/productMods/edit/forms/css/addAuthorsToInformationResource.css b/productMods/edit/forms/css/addAuthorsToInformationResource.css index 067230cf..8e4326c8 100644 --- a/productMods/edit/forms/css/addAuthorsToInformationResource.css +++ b/productMods/edit/forms/css/addAuthorsToInformationResource.css @@ -20,10 +20,6 @@ width: 15em; } -#authorships a.authorLink.noAuthor { - width: auto; -} - #showAddForm span.or { display: none; }