details.jsp 1.67 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
11
12
13
14
	<h1>
		<img class="country-flag bigger" src="http://genesys-pgr.org/images/flags/${faoInstitute.country.code3.toUpperCase()}.png" />	
		<c:out value="${faoInstitute.fullName}" />
			<small><c:out value="${faoInstitute.code}" /></small>
	</h1>
Matija Obreza's avatar
Matija Obreza committed
15

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

Matija Obreza's avatar
Matija Obreza committed
20
21
22
23
24
	<%-- <c:if test="${not faoInstitutes.current}">
		<div class="alert"><spring:message code="faoInstitutes.page.not-current"/></div>
	</c:if> --%>
	
	<div>
Matija Obreza's avatar
Matija Obreza committed
25
		<%-- <img src="http://genesys-pgr.org/images/flags/${faoInstitute.country.code3.toUpperCase()}.png" /> --%>
Matija Obreza's avatar
Matija Obreza committed
26
		<a href="<c:url value="/geo/${faoInstitute.country.code3.toLowerCase()}" />"><c:out value="${faoInstitute.country.name}" /></a>
Matija Obreza's avatar
Matija Obreza committed
27
	</div>
Matija Obreza's avatar
Matija Obreza committed
28

Matija Obreza's avatar
Matija Obreza committed
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
	<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>
	
45
46
47
48

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

Matija Obreza's avatar
Matija Obreza committed
54
55
</body>
</html>