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,9 +143,10 @@ 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 -->
|
||||
</div> <!-- end labelAndMoniker -->
|
||||
|
||||
<%-- Links --%>
|
||||
<c:if test="${ (!empty entity.anchor) || (!empty entity.linksList) }">
|
||||
|
@ -223,11 +224,10 @@ RY Description not working - FIX
|
|||
<div class="datatypePropertyValue">
|
||||
<div class="statementWrap">
|
||||
<div class="description">${entity.blurb}</div>
|
||||
<c:if test="${showEdits}">
|
||||
<c:set var="editLinks"><edLnk:editLinks item="<%= VitroVocabulary.BLURB %>" data="${entity.blurb}" icons="false"/></c:set>
|
||||
<c:if test="${!empty editLinks}"><span class="editLinks">${editLinks}</span></c:if>
|
||||
</c:if>
|
||||
</div>
|
||||
<c:if test="${showEdits}">
|
||||
<c:set var="editLinks"><edLnk:editLinks item="<%= VitroVocabulary.BLURB %>" data="${entity.blurb}" icons="false"/></c:set>
|
||||
<c:if test="${!empty editLinks}"><span class="editLinks">${editLinks}</span></c:if>
|
||||
</c:if>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -235,29 +235,36 @@ RY Description not working - FIX
|
|||
</div>
|
||||
|
||||
<%-- Description --%>
|
||||
<c:if test="${!empty entity.description}">
|
||||
<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> --%>
|
||||
<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>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</c:if>
|
||||
</c:if>
|
||||
</div>
|
||||
|
||||
</p:process>
|
||||
|
||||
<%-- Properties --%>
|
||||
|
||||
<c:import url="${entityMergedPropsListJsp}">
|
||||
<%-- <c:param name="mode" value="edit"/> --%>
|
||||
<c:param name="grouped" value="false"/>
|
||||
<%-- unless a value is provided, properties not assigned to a group will not have a tab or appear on the page --%>
|
||||
<c:param name="unassignedPropsGroupName" value=""/>
|
||||
</c:import>
|
||||
|
||||
<c:import url="${entityMergedPropsListJsp}">
|
||||
<%-- <c:param name="mode" value="edit"/> --%>
|
||||
<c:param name="grouped" value="false"/>
|
||||
<%-- unless a value is provided, properties not assigned to a group will not have a tab or appear on the page --%>
|
||||
<c:param name="unassignedPropsGroupName" value=""/>
|
||||
</c:import>
|
||||
|
||||
<p:process>
|
||||
<%-- Citation, if no thumbnail --%>
|
||||
|
@ -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