2010-03-24 15:39:02 +00:00
|
|
|
<%-- $This file is distributed under the terms of the license in /doc/license.txt$ --%>
|
|
|
|
|
|
|
|
<%@ page import="edu.cornell.mannlib.vitro.webapp.dao.VitroVocabulary" %>
|
2010-03-24 16:04:54 +00:00
|
|
|
<%@ taglib uri="http://vitro.mannlib.cornell.edu/vitro/tags/PropertyEditLink" prefix="edLnk" %>
|
2010-03-24 15:39:02 +00:00
|
|
|
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
|
|
|
|
|
|
|
|
<c:if test="${showEdits || !empty entity.citation}">
|
2010-04-02 23:13:09 +00:00
|
|
|
<div id="dprop-vitro-citation" class="propsItem ${editingClass}">
|
|
|
|
<c:if test="${not empty entity.citation }">
|
|
|
|
<c:set var="editLinksForExisting"><edLnk:editLinks item="<%= VitroVocabulary.CITATION %>" data="${entity.citation}" icons="false"/></c:set>
|
|
|
|
</c:if>
|
|
|
|
<c:set var="editLinksForNew"><edLnk:editLinks item="<%= VitroVocabulary.CITATION %>" icons="false"/></c:set>
|
|
|
|
<c:if test="${showEdits or (( empty entity.citation and !empty editLinksForNew)or( ! empty entity.citation and !empty editLinksForExisting)) }">
|
|
|
|
<h3 class="propertyName">citation</h3>
|
|
|
|
${editLinksForNew}
|
|
|
|
</c:if>
|
|
|
|
<c:if test="${!empty entity.citation}">
|
|
|
|
<div class="datatypeProperties">
|
|
|
|
<div class="datatypePropertyValue">
|
|
|
|
<div class="statementWrap">
|
|
|
|
<p:process>${entity.citation}</p:process>
|
|
|
|
<c:if test="${showEdits && !empty editLinksForExisting}">
|
|
|
|
<span class="editLinks">${editLinksForExisting}</span>
|
|
|
|
</c:if>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</c:if>
|
|
|
|
</div>
|
2010-03-24 15:39:02 +00:00
|
|
|
</c:if>
|