Commit af8237ec authored by Matija Obreza's avatar Matija Obreza
Browse files

GUI work

parent f7c73f13
......@@ -82,7 +82,7 @@ activity.recent-activity=Recent activity
country.page.profile.title=Country profile: {0}
country.page.list.title=Country list
country.page.not-current=This is a historic entry.
country.page.faoInstitutes=Organizations registered in WIEWS
country.page.faoInstitutes={0} institutes registered in WIEWS
country.stat.countByLocation={0} accessions held by institutes in this country
country.stat.countByOrigin={0} accessions registered in Genesys come from this country.
country.statistics=Country statistics
......@@ -97,6 +97,7 @@ faoInstitutes.page.data.title=Accessions in {0}
faoInstitute.accessions.at=Accessions held at {0}
faoInstitutes.viewAll=View all registered institutes
faoInstitutes.viewActiveOnly=View institutes with accessions in Genesys
faoInstitute.no-accessions-registered=Please get in touch with us if you can facilitate in providing data from this institiute.
view.accessions=View accessions...
paged.pageOfPages=Page {0} of {1}
......
......@@ -41,7 +41,7 @@
</ul>
<h4>
<spring:message code="country.page.faoInstitutes" />
<spring:message code="country.page.faoInstitutes" arguments="${faoInstitutes.size()}" />
</h4>
<ul>
......
......@@ -9,6 +9,10 @@
<body>
<h1><c:out value="${faoInstitute.fullName}" /></h1>
<c:if test="${countByInstitute eq 0}">
<div class="alert"><spring:message code="faoInstitute.no-accessions-registered" /></div>
</c:if>
<%-- <c:if test="${not faoInstitutes.current}">
<div class="alert"><spring:message code="faoInstitutes.page.not-current"/></div>
</c:if> --%>
......@@ -38,7 +42,9 @@
<h3><spring:message code="faoInstitute.statistics" /></h3>
<div>
<spring:message code="faoInstitutes.stat.accessionCount" arguments="${countByInstitute}" />
<a href="<c:url value="/wiews/${faoInstitute.code.toLowerCase()}/data" />"><spring:message code="view.accessions" /></a>
<c:if test="${countByInstitute gt 0}">
<a href="<c:url value="/wiews/${faoInstitute.code.toLowerCase()}/data" />"><spring:message code="view.accessions" /></a>
</c:if>
</div>
</body>
......
......@@ -15,7 +15,7 @@
<div><a href="<c:url value="/wiews/" />"><spring:message code="faoInstitutes.viewAll" /></a></div>
</c:if>
<c:if test="${activeOnly ne true}">
<div><a href="<c:url value="/wiews/genesys" />"><spring:message code="faoInstitutes.viewActiveOnly" /></a></div>
<div><a href="<c:url value="/wiews/active" />"><spring:message code="faoInstitutes.viewActiveOnly" /></a></div>
</c:if>
<div class="nav-header"><a href="?page=${faoInstitutes.number}">⇇ Previous</a> <a href="?page=${faoInstitutes.number + 2}">Next ⇉</a></div>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment