Commit d56e89b1 authored by Matija Obreza's avatar Matija Obreza

Display donorName if donorCode not available

parent 05dd1a0d
......@@ -184,7 +184,12 @@
<c:if test="${accessionExchange ne null}">
<div class="row">
<div class="col-xs-4"><spring:message code="accession.donor.institute" /></div>
<div class="col-xs-8">${accessionExchange.donorInstitute}</div>
<div class="col-xs-8">
<c:if test="${accessionExchange.donorInstitute eq null}">
${accessionExchange.donorName}
</c:if>
${accessionExchange.donorInstitute}
</div>
</div>
<div class="row">
<div class="col-xs-4"><spring:message code="accession.donor.accessionNumber" /></div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment