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

Breadcrumbs

parent 19cf91e7
......@@ -48,6 +48,29 @@
<spring:message code="accession.available-for-distribution" />
</div>
</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">
<c:if test="${accessionGeo.latitude ne null and accessionGeo.longitude ne null}">
......
......@@ -57,12 +57,16 @@
<div class="row" style="">
<div class="col-sm-4" property="schema:Organization#location">
<spring:message code="faoInstitute.country" />:
<%-- <img src="<c:url value="${cdnFlagsUrl}" />/${faoInstitute.country.code3.toUpperCase()}.png" /> --%>
<a href="<c:url value="/geo/${faoInstitute.country.code3}" />">
<span typeof="schema:Country"><span property="schema:Country#name">
<c:out value="${faoInstitute.country.getName(pageContext.response.locale)}" />
</span></span>
</a>
<span itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
<a href="<c:url value="/geo" />" itemprop="url">
<span itemprop="title"><spring:message code="menu.countries" /></span>
</a>
<span itemprop="child" itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
<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 class="col-sm-4">
<spring:message code="faoInstitute.code" />:
......@@ -86,7 +90,7 @@
<div class="col-sm-12">
<spring:message code="faoInstitute.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>
</div>
......@@ -101,7 +105,7 @@
<div class="col-sm-12">
<spring:message code="faoInstitute.member-of-organizations-and-networks" />
<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>
</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