details.jsp 2.53 KB
Newer Older
Matija Obreza's avatar
Matija Obreza committed
1
2
3
4
5
6
<!DOCTYPE html>

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

<html>
<head>
Matija Obreza's avatar
Matija Obreza committed
7
<title><spring:message code="faoInstitutes.page.profile.title" arguments="${faoInstitute.fullName}" argumentSeparator="|" /></title>
Matija Obreza's avatar
Matija Obreza committed
8
9
</head>
<body>
Matija Obreza's avatar
Matija Obreza committed
10
	<h1>
Matija Obreza's avatar
Matija Obreza committed
11
		<img class="country-flag bigger" src="http://genesys-pgr.org/images/flags/${faoInstitute.country.code3.toUpperCase()}.png" />
Matija Obreza's avatar
Matija Obreza committed
12
		<c:out value="${faoInstitute.fullName}" />
Matija Obreza's avatar
Matija Obreza committed
13
		<small><c:out value="${faoInstitute.code}" /></small>
Matija Obreza's avatar
Matija Obreza committed
14
	</h1>
Matija Obreza's avatar
Matija Obreza committed
15

Matija Obreza's avatar
Matija Obreza committed
16
	<c:if test="${countByInstitute eq 0}">
Matija Obreza's avatar
Matija Obreza committed
17
18
19
		<div class="alert">
			<spring:message code="faoInstitute.no-accessions-registered" />
		</div>
Matija Obreza's avatar
Matija Obreza committed
20
21
	</c:if>

Matija Obreza's avatar
Matija Obreza committed
22
23
24
	<%-- <c:if test="${not faoInstitutes.current}">
		<div class="alert"><spring:message code="faoInstitutes.page.not-current"/></div>
	</c:if> --%>
Matija Obreza's avatar
Matija Obreza committed
25

Matija Obreza's avatar
Matija Obreza committed
26
	<div>
Matija Obreza's avatar
Matija Obreza committed
27
		<%-- <img src="http://genesys-pgr.org/images/flags/${faoInstitute.country.code3.toUpperCase()}.png" /> --%>
Matija Obreza's avatar
Matija Obreza committed
28
		<a href="<c:url value="/geo/${faoInstitute.country.code3.toLowerCase()}" />"><c:out value="${faoInstitute.country.name}" /></a>
Matija Obreza's avatar
Matija Obreza committed
29
	</div>
Matija Obreza's avatar
Matija Obreza committed
30

Matija Obreza's avatar
Matija Obreza committed
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
	<div>
		<c:out value="${faoInstitute.code}" />
	</div>
	<div>
		<c:out value="${faoInstitute.email}" />
	</div>
	<div>
		<c:out value="${faoInstitute.acronym}" />
	</div>
	<div>
		<c:out value="${faoInstitute.type}" />
	</div>
	<div>
		<a href="<c:out value="${faoInstitute.url}" />"><c:out value="${faoInstitute.url}" /></a>
	</div>
46

Matija Obreza's avatar
Matija Obreza committed
47
48
49
50

	<h3>
		<spring:message code="faoInstitute.statistics" />
	</h3>
51
52
	<div>
		<spring:message code="faoInstitutes.stat.accessionCount" arguments="${countByInstitute}" />
Matija Obreza's avatar
Matija Obreza committed
53
54
55
		<c:if test="${countByInstitute gt 0}">
			<a href="<c:url value="/wiews/${faoInstitute.code.toLowerCase()}/data" />"><spring:message code="view.accessions" /></a>
		</c:if>
56
57
	</div>

Matija Obreza's avatar
Matija Obreza committed
58
59
	<div class="clearfix" style="margin-top: 2em;">
		<div class="pull-left" style="margin-right: 3em;">
60
			<h4>Top 30 by Genus</h4>
Matija Obreza's avatar
Matija Obreza committed
61
62
63
64
65
66
67
68
			<ul class="funny-list statistics">
				<c:forEach items="${statisticsGenus}" var="stat" varStatus="status">
					<li><span class="stats-number"><fmt:formatNumber value="${stat[1]}" /></span> <c:out value="${stat[0]}" /></li>
				</c:forEach>
			</ul>
		</div>

		<div class="pull-left" style="margin-right: 3em;">
69
			<h4>Top 30 by Species</h4>
Matija Obreza's avatar
Matija Obreza committed
70
71
72
73
74
75
76
77
78
			<ul class="funny-list statistics">
				<c:forEach items="${statisticsTaxonomy}" var="stat" varStatus="status">
					<li><span class="stats-number"><fmt:formatNumber value="${stat[1]}" /></span> <a href="<c:url value="/wiews/${faoInstitute.code.toLowerCase()}/t/${stat[0].genus}/${stat[0].species}" />"><c:out value="${stat[0].taxonName}" /></a></li>
				</c:forEach>
			</ul>
		</div>
	</div>


Matija Obreza's avatar
Matija Obreza committed
79
80
</body>
</html>