NIHVIVO-343 Merge changes from nihvivo-rel-1.0-maint: Include add moniker links when user has editing privileges on the moniker.

This commit is contained in:
rjy7 2010-04-09 15:47:08 +00:00
parent 75d176e263
commit 211fef1551

View file

@ -119,10 +119,10 @@ if (VitroRequestPrep.isSelfEditing(request) || LoginFormBean.loggedIn(request, L
<%-- Moniker. Wrap in the div only if editing. If not editing, displays inline next to label. --%> <%-- Moniker. Wrap in the div only if editing. If not editing, displays inline next to label. --%>
<c:if test="${showEdits}"> <c:if test="${showEdits}">
<c:set var="monikerEditLinks"><edLnk:editLinks item="<%= VitroVocabulary.MONIKER %>" icons="false"/></c:set> <c:set var="monikerAddLinks"><edLnk:editLinks item="<%= VitroVocabulary.MONIKER %>" icons="false"/></c:set>
<c:if test="${!empty monikerEditLinks }"> <c:if test="${!empty monikerAddLinks }">
<div id="dprop-vitro-moniker" class="propsItem ${editingClass}"> <div id="dprop-vitro-moniker" class="propsItem ${editingClass}">
<h3 class="propertyName">moniker</h3> <h3 class="propertyName">moniker</h3>${monikerAddLinks}
</c:if> </c:if>
</c:if> </c:if>