details.jsp 1.47 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 10 11
</head>
<body>
	<h1><c:out value="${faoInstitute.fullName}" /></h1>

Matija Obreza's avatar
Matija Obreza committed
12 13 14 15
	<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
16 17 18 19 20
	<%-- <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
21
		<img src="http://genesys-pgr.org/images/flags/${faoInstitute.country.code3.toUpperCase()}.png" />
Matija Obreza's avatar
Matija Obreza committed
22
		<a href="<c:url value="/geo/${faoInstitute.country.code3.toLowerCase()}" />"><c:out value="${faoInstitute.country.name}" /></a>
Matija Obreza's avatar
Matija Obreza committed
23
	</div>
Matija Obreza's avatar
Matija Obreza committed
24

Matija Obreza's avatar
Matija Obreza committed
25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
	<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>
	
41 42 43 44

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

Matija Obreza's avatar
Matija Obreza committed
50 51
</body>
</html>