details.jsp 2.59 KB
Newer Older
Matija Obreza's avatar
Matija Obreza committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<!DOCTYPE html>

<%@include file="/WEB-INF/jsp/init.jsp"%>

<html>
<head>
<title><spring:message code="accession.page.profile.title" arguments="${accession.accessionName}" argumentSeparator="|" /></title>
</head>
<body>
	<h1>
		<c:out value="${accession.accessionName}" />
		<small><c:out value="${accession.instituteCode}" /></small>
	</h1>

	<table>
		<tbody>
			<tr>
				<td><spring:message code="accession.holdingInstitute" /></td>
Matija Obreza's avatar
Matija Obreza committed
19
20
21
22
23
				<td>
				<a href="<c:url value="/wiews/${accession.instituteCode.toLowerCase()}" />">
				<c:out value="${accession.institute.fullName}" />
				</a>
				</td>
Matija Obreza's avatar
Matija Obreza committed
24
25
26
27
28
29
30
31
32
			</tr>
			<tr>
				<td><spring:message code="accession.holdingCountry" /></td>
				<td><c:out value="${accession.institute.country.name}" /></td>
			</tr>
			<tr>
				<td><spring:message code="accession.accessionName" /></td>
				<td><c:out value="${accession.accessionName}" /></td>
			</tr>
Matija Obreza's avatar
Matija Obreza committed
33
34
35
36
37
38
39
40
41
42
43
44
45
46
			
			
			<c:if test="${accession.countryOfOrigin ne null}">
				<tr>
					<td><spring:message code="accession.origin" /></td>
					<td>
						<img src="http://genesys-pgr.org/images/flags/${accession.origin.toUpperCase()}.png" />
						<a href="<c:url value="/geo/${accession.origin.toLowerCase()}" />">
							<c:out value="${accession.countryOfOrigin.name}" />
						</a>
					</td>
				</tr>
			</c:if>
			
Matija Obreza's avatar
Matija Obreza committed
47
48
49
50
51
52
53
54
55
56
57
58
59
			<tr>
				<td><spring:message code="taxonomy.genus" /></td>
				<td><c:out value="${accession.taxonomy.genus}" /></td>
			</tr>
			<tr>
				<td><spring:message code="taxonomy.species" /></td>
				<td><c:out value="${accession.taxonomy.species}" /></td>
			</tr>
			<tr>
				<td><spring:message code="taxonomy.taxonName" /></td>
				<td><c:out value="${accession.taxonomy.taxonName}" /></td>
			</tr>
			<tr>
Matija Obreza's avatar
Matija Obreza committed
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
				<td><spring:message code="accession.otherNames" /></td>
				<td>
					<c:out value="${accessionNames.accNames}" /><br />
					<c:out value="${accessionNames.otherIds}" />
				</td>
			</tr>
			
			<tr>
				<td><spring:message code="accession.inTrust" /></td>
				<td><c:out value="${accession.inTrust}" /></td>
			</tr>
			
			<tr>
				<td><spring:message code="accession.inSvalbard" /></td>
				<td><c:out value="${accession.inSvalbard}" /></td>
			</tr>
			
			<tr>
				<td><spring:message code="accession.mlsStatus" /></td>
				<td><c:out value="${accession.mlsStatus}" /></td>
			</tr>
Matija Obreza's avatar
Matija Obreza committed
81
82
		</tbody>
	</table>
83
84
85
86
87
88
89
	
	<h2>Metadata</h2>
	<c:forEach items="${metadatas}" var="metadata" varStatus="status">
	<div><a href="<c:url value="/data/view/${metadata.id}" />"><c:out value="${metadata.title}" /></a> <c:out value="${metadata.institute}" /></div>
	<div><c:out value="${metadata.description}" /></div>
	</c:forEach>
	
Matija Obreza's avatar
Matija Obreza committed
90
91
</body>
</html>