Slight UI tweaks to authors form (new h3, cursor type and removed link to individuals) NIHVIVO-646
This commit is contained in:
parent
c6fe94442e
commit
1a14ffba90
2 changed files with 9 additions and 2 deletions
|
@ -278,7 +278,7 @@ SPARQL queries for existing values. --%>
|
|||
}
|
||||
%>
|
||||
|
||||
<c:set var="title" value="<em>${infoResourceName}</em>: Authors" />
|
||||
<c:set var="title" value="<em>${infoResourceName}</em>"/>
|
||||
<c:set var="requiredHint" value="<span class='requiredHint'> *</span>" />
|
||||
<c:set var="initialHint" value="<span class='hint'>(initial okay)</span>" />
|
||||
|
||||
|
@ -286,6 +286,8 @@ SPARQL queries for existing values. --%>
|
|||
|
||||
<h2>${title}</h2>
|
||||
|
||||
<h3>Manage Authors</h3>
|
||||
|
||||
<ul id="authorships" <%= ulClass %>>
|
||||
<%
|
||||
String rankPredicateUri = vivoCore + "authorRank";
|
||||
|
@ -340,7 +342,7 @@ SPARQL queries for existing values. --%>
|
|||
<c:url var="authorHref" value="/individual">
|
||||
<c:param name="uri" value="${author.URI}"/>
|
||||
</c:url>
|
||||
<a href="${authorHref}" id="${author.URI}" class="authorLink">${author.name}</a>
|
||||
<a href="#" id="${author.URI}" class="authorLink">${author.name}</a>
|
||||
</c:when>
|
||||
|
||||
<c:otherwise>
|
||||
|
|
|
@ -276,7 +276,12 @@ var addAuthorForm = {
|
|||
$(this).attr('title', 'Drag and drop to reorder authors');
|
||||
});
|
||||
|
||||
$('.authorLinkWrapper,#authorships.dd li, a.authorLink').hover(function() {
|
||||
$(this).css('cursor','move');
|
||||
})
|
||||
|
||||
authorshipList.sortable({
|
||||
cursor: 'move',
|
||||
stop: function(event, ui) {
|
||||
addAuthorForm.reorderAuthors(event, ui);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue