reverse.jsp 1.78 KB
Newer Older
1 2
<!DOCTYPE html>

3
<%@ include file="/WEB-INF/jsp/init.jsp" %>
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33

<html>
<head>
<title><spring:message code="resolver.page.reverse.title" /></title>
</head>
<body>
  <h1>
    <spring:message code="resolver.page.reverse.title" />
  </h1>

  <div class="crop-details">
    <div class="row header not-important">
      <div class="col-sm-2">
        <spring:message code="accession.holdingInstitute" />
      </div>
      <div class="col-sm-2">
        <spring:message code="accession.accessionName" />
      </div>
      <div class="col-sm-4">
        <spring:message code="accession.taxonomy" />
      </div>
    </div>
    <c:forEach items="${accessions}" var="accession" varStatus="status">
      <div class="row ${accession.getClass().simpleName=='AccessionHistoric' ? 'text-muted' : ''}">
        <div class="col-sm-2">
          <a href="<c:url value="/wiews/${accession.institute.code}" />"><c:out value="${accession.institute.code}" /></a>
        </div>
        <div class="col-sm-2">
          <c:choose>
            <c:when test="${accession.getClass().simpleName=='AccessionHistoric'}">
Matija Obreza's avatar
Matija Obreza committed
34
              <a href="<c:url value="/archive/${accession.uuid}" />"><c:out value="${accession.accessionName}" /></a>
35 36 37 38 39 40 41
            </c:when>
            <c:otherwise>
              <a href="<c:url value="/acn/id/${accession.id}" />"><c:out value="${accession.accessionName}" /></a>
            </c:otherwise>
          </c:choose>
        </div>
        <div class="col-sm-4">
Matija Obreza's avatar
Matija Obreza committed
42
          <span dir="ltr" class="sci-name text-clip"><c:out escapeXml="false" value="${accession.taxonomy.taxonNameHtml}" /></span>
43 44 45 46 47 48 49 50 51
        </div>
        <div class="col-sm-4">
          <a href="https://purl.org/germplasm/id/${accession.uuid}"><c:out value="${accession.uuid}" /></a>
        </div>
      </div>
    </c:forEach>
  </div>
</body>
</html>