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

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

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

	<c:if test="${not country.current}">
16
17
18
19
20
21
22
23
24
		<div class="alert">
			<spring:message code="country.page.not-current" />
		</div>
	</c:if>

	<c:if test="${blurp ne null}">
		<div class="free-text">
			<c:out value="${blurp.body}" escapeXml="false" />
		</div>
Matija Obreza's avatar
Matija Obreza committed
25
	</c:if>
Matija Obreza's avatar
Matija Obreza committed
26

Matija Obreza's avatar
Matija Obreza committed
27
	<div>
28
29
		ISO-3166 3-alpha: <c:out value="${country.code3}" /><br />
		ISO-3166 2-alpha: <c:out value="${country.code2}" />
Matija Obreza's avatar
Matija Obreza committed
30
	</div>
31
32
33
34

	<h3>
		<spring:message code="country.statistics" />
	</h3>
35
36
37
38
39
	<div>
		<spring:message code="country.stat.countByOrigin" arguments="${countByOrigin}" />
		<a href="<c:url value="/geo/${country.code3.toLowerCase()}/data" />"><spring:message code="view.accessions" /></a>
	</div>

40
41
42
	<h3>
		<spring:message code="country.stat.countByLocation" arguments="${countByLocation}" />
	</h3>
Matija Obreza's avatar
Matija Obreza committed
43
	<ul class="funny-list">
44
		<c:forEach items="${genesysInstitutes}" var="faoInstitute" varStatus="status">
45
46
47
48
			<li class="clearfix ${status.count % 2 == 0 ? 'even' : 'odd'}"><a class="show pull-left" href="<c:url value="/wiews/${faoInstitute.code.toLowerCase()}" />"><b><c:out value="${faoInstitute.code}" /></b> <c:out value="${faoInstitute.fullName}" /></a>
				<div class="pull-right">
					<spring:message code="faoInstitute.accessionCount" arguments="${faoInstitute.accessionCount}" />
				</div></li>
49
50
		</c:forEach>
	</ul>
51

52
	<h4>
Matija Obreza's avatar
Matija Obreza committed
53
		<spring:message code="country.page.faoInstitutes" arguments="${faoInstitutes.size()}" />
54
	</h4>
Matija Obreza's avatar
Matija Obreza committed
55

Matija Obreza's avatar
Matija Obreza committed
56
	<ul class="funny-list">
Matija Obreza's avatar
Matija Obreza committed
57
		<c:forEach items="${faoInstitutes}" var="faoInstitute" varStatus="status">
Matija Obreza's avatar
Matija Obreza committed
58
			<li class="${status.count % 2 == 0 ? 'even' : 'odd'}"><a class="show" href="<c:url value="/wiews/${faoInstitute.code.toLowerCase()}" />"><b><c:out value="${faoInstitute.code}" /></b> <c:out value="${faoInstitute.fullName}" /></a></li>
Matija Obreza's avatar
Matija Obreza committed
59
60
		</c:forEach>
	</ul>
61

Matija Obreza's avatar
Matija Obreza committed
62
63
</body>
</html>