NIHVIVO-146 Add/edit/delete description on front end.
NIHVIVO-145 Remove extra closing div tag in the blurb block that was messing up formatting
This commit is contained in:
parent
54c5019347
commit
65d9c2a7e4
1 changed files with 36 additions and 29 deletions
|
@ -143,6 +143,7 @@ RY Description not working - FIX
|
|||
</div>
|
||||
</c:if>
|
||||
<c:if test="${showEdits}"></div></c:if> <%-- end dprop-vitro-moniker --%>
|
||||
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
</div> <!-- end labelAndMoniker -->
|
||||
|
@ -230,23 +231,30 @@ RY Description not working - FIX
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</c:if>
|
||||
</div>
|
||||
|
||||
<%-- Description --%>
|
||||
<div id="dprop-vitro-description" class="propsItem ${editingClass}" style="display:block;">
|
||||
<c:if test="${showEdits}">
|
||||
<h3 class="propertyName">description</h3>
|
||||
<edLnk:editLinks item="<%= VitroVocabulary.DESCRIPTION %>" icons="false"/>
|
||||
</c:if>
|
||||
<c:if test="${!empty entity.description}">
|
||||
<div class="datatypeProperties">
|
||||
<div class="datatypePropertyValue">
|
||||
<div class="statementWrap">
|
||||
<div class="description">${entity.description}</div>
|
||||
<%--
|
||||
<c:if test="${showEdits}">
|
||||
<c:set var="editLinks"><edLnk:editLinks item="<%= VitroVocabulary.DESCRIPTION %>" data="${entity.description}" icons="false"/></c:set>
|
||||
<c:if test="${!empty editLinks}"><span class="editLinks">${editLinks}</span></c:if>
|
||||
</c:if> --%>
|
||||
</c:if>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</c:if>
|
||||
</div>
|
||||
|
||||
</p:process>
|
||||
|
||||
<%-- Properties --%>
|
||||
|
@ -258,7 +266,6 @@ RY Description not working - FIX
|
|||
<c:param name="unassignedPropsGroupName" value=""/>
|
||||
</c:import>
|
||||
|
||||
|
||||
<p:process>
|
||||
<%-- Citation, if no thumbnail --%>
|
||||
<c:if test="${(!empty entity.citation) && (empty entity.imageThumb)}">
|
||||
|
@ -278,5 +285,5 @@ RY Description not working - FIX
|
|||
</c:if>
|
||||
</p:process>
|
||||
${requestScope.servletButtons}
|
||||
</div>
|
||||
</div> <!-- contents -->
|
||||
</div> <!-- content -->
|
||||
|
|
Loading…
Add table
Reference in a new issue