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>
|
</div>
|
||||||
</c:if>
|
</c:if>
|
||||||
<c:if test="${showEdits}"></div></c:if> <%-- end dprop-vitro-moniker --%>
|
<c:if test="${showEdits}"></div></c:if> <%-- end dprop-vitro-moniker --%>
|
||||||
|
|
||||||
</c:otherwise>
|
</c:otherwise>
|
||||||
</c:choose>
|
</c:choose>
|
||||||
</div> <!-- end labelAndMoniker -->
|
</div> <!-- end labelAndMoniker -->
|
||||||
|
@ -230,23 +231,30 @@ RY Description not working - FIX
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
</c:if>
|
</c:if>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<%-- Description --%>
|
<%-- 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}">
|
<c:if test="${!empty entity.description}">
|
||||||
|
<div class="datatypeProperties">
|
||||||
<div class="datatypePropertyValue">
|
<div class="datatypePropertyValue">
|
||||||
<div class="statementWrap">
|
<div class="statementWrap">
|
||||||
<div class="description">${entity.description}</div>
|
<div class="description">${entity.description}</div>
|
||||||
<%--
|
|
||||||
<c:if test="${showEdits}">
|
<c:if test="${showEdits}">
|
||||||
<c:set var="editLinks"><edLnk:editLinks item="<%= VitroVocabulary.DESCRIPTION %>" data="${entity.description}" icons="false"/></c:set>
|
<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 test="${!empty editLinks}"><span class="editLinks">${editLinks}</span></c:if>
|
||||||
</c:if> --%>
|
</c:if>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</c:if>
|
</c:if>
|
||||||
|
</div>
|
||||||
|
|
||||||
</p:process>
|
</p:process>
|
||||||
|
|
||||||
<%-- Properties --%>
|
<%-- Properties --%>
|
||||||
|
@ -258,7 +266,6 @@ RY Description not working - FIX
|
||||||
<c:param name="unassignedPropsGroupName" value=""/>
|
<c:param name="unassignedPropsGroupName" value=""/>
|
||||||
</c:import>
|
</c:import>
|
||||||
|
|
||||||
|
|
||||||
<p:process>
|
<p:process>
|
||||||
<%-- Citation, if no thumbnail --%>
|
<%-- Citation, if no thumbnail --%>
|
||||||
<c:if test="${(!empty entity.citation) && (empty entity.imageThumb)}">
|
<c:if test="${(!empty entity.citation) && (empty entity.imageThumb)}">
|
||||||
|
@ -278,5 +285,5 @@ RY Description not working - FIX
|
||||||
</c:if>
|
</c:if>
|
||||||
</p:process>
|
</p:process>
|
||||||
${requestScope.servletButtons}
|
${requestScope.servletButtons}
|
||||||
</div>
|
</div> <!-- contents -->
|
||||||
</div> <!-- content -->
|
</div> <!-- content -->
|
||||||
|
|
Loading…
Add table
Reference in a new issue