Commit 2fa322e5 authored by Matija Obreza's avatar Matija Obreza
Browse files

Breadcrumbs

parent 19cf91e7
...@@ -48,6 +48,29 @@ ...@@ -48,6 +48,29 @@
<spring:message code="accession.available-for-distribution" /> <spring:message code="accession.available-for-distribution" />
</div> </div>
</c:if> </c:if>
<%--
<div itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
<a href="<c:url value="/wiews/${accession.institute.code}" />" itemprop="url">
<span itemprop="title" dir="ltr">${accession.institute.fullName}</span>
</a> ›
<span itemprop="child" itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
<a href="<c:url value="/wiews/${accession.institute.code}/data" />" itemprop="url">
<span itemprop="title" dir="ltr">Accessions</span>
</a> ›
<span itemprop="child" itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
<a title="<spring:message code="accession.taxonomy-at-institute" arguments="${accession.taxonomy.genus}|||${accession.institute.code}" argumentSeparator="|||" />" href="<c:url value="/wiews/${accession.institute.code}/t/${accession.taxonomy.genus}" />" itemprop="url">
<span itemprop="title" dir="ltr">${accession.taxonomy.genus}</span>
</a> ›
<span itemprop="child" itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
<a title="<spring:message code="accession.taxonomy-at-institute" arguments="${accession.taxonomy.genus} ${accession.taxonomy.species}|||${accession.institute.code}" argumentSeparator="|||" />" href="<c:url value="/wiews/${accession.institute.code}/t/${accession.taxonomy.genus}/${accession.taxonomy.species}" />" itemprop="url">
<span itemprop="title" dir="ltr">${accession.taxonomy.genus} ${accession.taxonomy.species}</span>
</a>
</span>
</span>
</span>
</div>
--%>
<div class="pseudo-right-col col-md-3"> <div class="pseudo-right-col col-md-3">
<c:if test="${accessionGeo.latitude ne null and accessionGeo.longitude ne null}"> <c:if test="${accessionGeo.latitude ne null and accessionGeo.longitude ne null}">
......
...@@ -57,12 +57,16 @@ ...@@ -57,12 +57,16 @@
<div class="row" style=""> <div class="row" style="">
<div class="col-sm-4" property="schema:Organization#location"> <div class="col-sm-4" property="schema:Organization#location">
<spring:message code="faoInstitute.country" />: <spring:message code="faoInstitute.country" />:
<%-- <img src="<c:url value="${cdnFlagsUrl}" />/${faoInstitute.country.code3.toUpperCase()}.png" /> --%> <span itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
<a href="<c:url value="/geo/${faoInstitute.country.code3}" />"> <a href="<c:url value="/geo" />" itemprop="url">
<span typeof="schema:Country"><span property="schema:Country#name"> <span itemprop="title"><spring:message code="menu.countries" /></span>
<c:out value="${faoInstitute.country.getName(pageContext.response.locale)}" /> </a>
</span></span> <span itemprop="child" itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
</a> <a href="<c:url value="/geo/${faoInstitute.country.code3}" />" itemprop="url">
<span itemprop="title">${faoInstitute.country.getName(pageContext.response.locale)}</span>
</a>
</span>
</span>
</div> </div>
<%-- <div class="col-sm-4"> <%-- <div class="col-sm-4">
<spring:message code="faoInstitute.code" />: <spring:message code="faoInstitute.code" />:
...@@ -86,7 +90,7 @@ ...@@ -86,7 +90,7 @@
<div class="col-sm-12"> <div class="col-sm-12">
<spring:message code="faoInstitute.url" />: <spring:message code="faoInstitute.url" />:
<c:forEach items="${faoInstitute.safeUrls}" var="url"> <c:forEach items="${faoInstitute.safeUrls}" var="url">
<a target="_blank" rel="nofollow" href="<c:out value="${url}" />"><c:out value="${url}" /></a> <a target="_blank" rel="nofollow" href="<c:out value="${url}" />"><span dir="ltr"><c:out value="${url}" /></span></a>
</c:forEach> </c:forEach>
</div> </div>
...@@ -101,7 +105,7 @@ ...@@ -101,7 +105,7 @@
<div class="col-sm-12"> <div class="col-sm-12">
<spring:message code="faoInstitute.member-of-organizations-and-networks" /> <spring:message code="faoInstitute.member-of-organizations-and-networks" />
<c:forEach items="${organizations}" var="organization"> <c:forEach items="${organizations}" var="organization">
<a href="<c:url value="/org/${organization.slug}" />"><c:out value="${organization.title}" /></a> <a href="<c:url value="/org/${organization.slug}" />"><span dir="ltr"><c:out value="${organization.title}" /></span></a>
</c:forEach> </c:forEach>
</div> </div>
</div> </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