Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Genesys PGR
Genesys Backend
Commits
6840cb46
Commit
6840cb46
authored
Nov 21, 2014
by
Matija Obreza
Browse files
pageContext.response.locale contains the Spring selected language
parent
6d810d65
Changes
6
Hide whitespace changes
Inline
Side-by-side
src/main/webapp/WEB-INF/jsp/accession/explore-es.jsp
View file @
6840cb46
...
...
@@ -261,7 +261,7 @@
<%-- <td><a href="<c:url value="/acn/t/${accession.taxonomy.genus}/${accession.taxonomy.species}" />"><c:out value="${accession.taxonomy.sciName}" /></a></td> --%>
<td><c:out
value=
"
${
accession
.
taxonomy
.
sciName
}
"
/></td>
<%-- <td class="notimportant"><a href="<c:url value="/geo/${accession.orgCty.iso3}" />"><c:out value="${accession.orgCty.name}" /></a></td> --%>
<td
class=
"notimportant"
><c:out
value=
"
${
jspHelper
.
getCountry
(
accession
.
orgCty
.
iso3
).
getName
(
pageContext
.
re
quest
.
locale
)
}
"
/></td>
<td
class=
"notimportant"
><c:out
value=
"
${
jspHelper
.
getCountry
(
accession
.
orgCty
.
iso3
).
getName
(
pageContext
.
re
sponse
.
locale
)
}
"
/></td>
<td
class=
"notimportant"
><spring:message
code=
"accession.sampleStatus.${accession.sampStat}"
/></td>
<td
class=
"notimportant"
><a
href=
"
<c:url
value=
"/wiews/${accession.institute.code}"
/>
"
><c:out
value=
"
${
accession
.
institute
.
code
}
"
/></a></td>
<%-- <td><a href="<c:url value="/geo/${accession.institute.country.iso3}" />"><c:out value="${accession.institute.country.name}" /></a></td>
...
...
src/main/webapp/WEB-INF/jsp/accession/modal.jsp
View file @
6840cb46
...
...
@@ -14,7 +14,7 @@
<c:forEach
items=
"
${
categories
}
"
var=
"category"
>
<c:if
test=
"
${
descriptors
[
category
].
size
()
gt
0
}
"
>
<div
class=
"row"
>
<h2><c:out
value=
"
${
crop
.
getName
(
pageContext
.
re
quest
.
locale
)
}
:"
/>
<c:out
value=
"
${
category
.
getName
(
pageContext
.
re
quest
.
locale
)
}
"
/></h2>
<h2><c:out
value=
"
${
crop
.
getName
(
pageContext
.
re
sponse
.
locale
)
}
:"
/>
<c:out
value=
"
${
category
.
getName
(
pageContext
.
re
sponse
.
locale
)
}
"
/></h2>
</div>
<c:forEach
items=
"
${
descriptors
[
category
]
}
"
var=
"descriptor"
>
<c:if
test=
"
${
methods
[
descriptor
.
id
].
size
()
gt
0
}
"
>
...
...
src/main/webapp/WEB-INF/jsp/accession/termresult.jspf
View file @
6840cb46
...
...
@@ -18,10 +18,10 @@
<tr><td>
<c:choose>
<c:when test="${type=='country'}">
<a href="<c:url value="/geo/${term.term.toUpperCase()}" />"><c:out value="${jspHelper.getCountry(term.term).getName(pageContext.re
quest
.locale)}" /></a>
<a href="<c:url value="/geo/${term.term.toUpperCase()}" />"><c:out value="${jspHelper.getCountry(term.term).getName(pageContext.re
sponse
.locale)}" /></a>
</c:when>
<c:when test="${type=='crop'}">
<c:out value="${jspHelper.getCrop(term.term).getName(pageContext.re
quest
.locale)}" />
<c:out value="${jspHelper.getCrop(term.term).getName(pageContext.re
sponse
.locale)}" />
</c:when>
<c:when test="${type=='instCode'}">
<a href="<c:url value="/wiews/${term.term.toUpperCase()}" />"><c:out value="${term.term.toUpperCase()}" /></a>
...
...
src/main/webapp/WEB-INF/jsp/filter/cropdescriptors.jsp
View file @
6840cb46
...
...
@@ -13,7 +13,7 @@
<div
id=
"allfilters"
>
<c:forEach
items=
"
${
categories
}
"
var=
"category"
>
<c:if
test=
"
${
descriptors
[
category
].
size
()
gt
0
}
"
>
<h2><c:out
value=
"
${
crop
.
getName
(
pageContext
.
re
quest
.
locale
)
}
:"
/>
<c:out
value=
"
${
category
.
getName
(
pageContext
.
re
quest
.
locale
)
}
"
/></h2>
<h2><c:out
value=
"
${
crop
.
getName
(
pageContext
.
re
sponse
.
locale
)
}
:"
/>
<c:out
value=
"
${
category
.
getName
(
pageContext
.
re
sponse
.
locale
)
}
"
/></h2>
<c:forEach
items=
"
${
descriptors
[
category
]
}
"
var=
"descriptor"
>
<c:if
test=
"
${
methods
[
descriptor
.
id
].
size
()
gt
0
}
"
>
<div
class=
"row filter-block"
>
...
...
src/main/webapp/WEB-INF/jsp/filter/traitfilter.jsp
View file @
6840cb46
...
...
@@ -13,7 +13,7 @@
<c:forEach
items=
"
${
categories
}
"
var=
"category"
>
<c:if
test=
"
${
descriptors
[
category
].
size
()
gt
0
}
"
>
<h2><c:out
value=
"
${
crop
.
getName
(
pageContext
.
re
quest
.
locale
)
}
:"
/>
<c:out
value=
"
${
category
.
getName
(
pageContext
.
re
quest
.
locale
)
}
"
/></h2>
<h2><c:out
value=
"
${
crop
.
getName
(
pageContext
.
re
sponse
.
locale
)
}
:"
/>
<c:out
value=
"
${
category
.
getName
(
pageContext
.
re
sponse
.
locale
)
}
"
/></h2>
<c:forEach
items=
"
${
descriptors
[
category
]
}
"
var=
"descriptor"
>
<c:if
test=
"
${
methods
[
descriptor
.
id
].
size
()
gt
0
}
"
>
<div
class=
"row filter-block"
>
...
...
src/main/webapp/WEB-INF/jsp/search/accessions.jsp
View file @
6840cb46
...
...
@@ -73,7 +73,7 @@
<%-- <td><a href="<c:url value="/acn/t/${accession.taxonomy.genus}/${accession.taxonomy.species}" />"><c:out value="${accession.taxonomy.sciName}" /></a></td> --%>
<td><c:out
value=
"
${
accession
.
taxonomy
.
sciName
}
"
/></td>
<%-- <td class="notimportant"><a href="<c:url value="/geo/${accession.orgCty.iso3}" />"><c:out value="${accession.orgCty.name}" /></a></td> --%>
<td
class=
"notimportant"
><c:out
value=
"
${
jspHelper
.
getCountry
(
accession
.
orgCty
.
iso3
).
getName
(
pageContext
.
re
quest
.
locale
)
}
"
/></td>
<td
class=
"notimportant"
><c:out
value=
"
${
jspHelper
.
getCountry
(
accession
.
orgCty
.
iso3
).
getName
(
pageContext
.
re
sponse
.
locale
)
}
"
/></td>
<td
class=
"notimportant"
><spring:message
code=
"accession.sampleStatus.${accession.sampStat}"
/></td>
<td
class=
"notimportant"
><a
href=
"
<c:url
value=
"/wiews/${accession.institute.code}"
/>
"
><c:out
value=
"
${
accession
.
institute
.
code
}
"
/></a></td>
</tr>
...
...
Write
Preview
Supports
Markdown
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