Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Genesys Backend
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
17
Issues
17
List
Boards
Labels
Service Desk
Milestones
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Genesys PGR
Genesys Backend
Commits
2fa322e5
Commit
2fa322e5
authored
Dec 23, 2014
by
Matija Obreza
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Breadcrumbs
parent
19cf91e7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
35 additions
and
8 deletions
+35
-8
src/main/webapp/WEB-INF/jsp/accession/details.jsp
src/main/webapp/WEB-INF/jsp/accession/details.jsp
+23
-0
src/main/webapp/WEB-INF/jsp/wiews/details.jsp
src/main/webapp/WEB-INF/jsp/wiews/details.jsp
+12
-8
No files found.
src/main/webapp/WEB-INF/jsp/accession/details.jsp
View file @
2fa322e5
...
...
@@ -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
}
"
>
...
...
src/main/webapp/WEB-INF/jsp/wiews/details.jsp
View file @
2fa322e5
...
...
@@ -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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment