Skip to content
GitLab
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
95ab33c4
Commit
95ab33c4
authored
Oct 30, 2017
by
Matija Obreza
Browse files
Links to WIEWS institute information page are changed
parent
305f7f83
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/webapp/WEB-INF/jsp/wiews/details.jsp
View file @
95ab33c4
...
...
@@ -68,7 +68,7 @@
<c:otherwise><c:set
var=
"wiewsLang"
value=
"en"
/></c:otherwise>
</c:choose>
<div
class=
"text-ellipsis"
><a
target=
"_blank"
rel=
"nofollow"
href=
"
<c:url
value=
"http://www.fao.org/wiews/
instab
/${wiewsLang}/"
><c:param
name=
"instcode"
value=
"
${
faoInstitute
.
code
}
"
/></c:url>
"
>
href=
"
<c:url
value=
"http://www.fao.org/wiews/
data/organizations
/${wiewsLang}/"
><c:param
name=
"instcode"
value=
"
${
faoInstitute
.
code
}
"
/></c:url>
"
>
<spring:message
code=
"faoInstitute.wiewsLink"
arguments=
"
${
faoInstitute
.
code
}
"
/>
</a></div>
</div>
...
...
@@ -461,7 +461,7 @@
</div>
</div>
</c:if>
<c:if
test=
"
${
countByInstitute
gt
0
}
"
>
<spring:eval
expression=
"T(java.text.DateFormatSymbols).getInstance(pageContext.response.locale).getMonths()"
var=
"monthNames"
/>
<div
class=
"collect-info col-lg-6 col-md-12 col-sm-12 col-xs-12"
>
...
...
@@ -491,7 +491,7 @@
</div>
</div>
</c:if>
<security:authorize
access=
"hasRole('ADMINISTRATOR') or hasPermission(#faoInstitute, 'ADMINISTRATION')"
>
<div
class=
"col-lg-12 col-md-12 col-sm-12 col-xs-12 form-group"
>
<a
href=
"
<c:url
value=
"/acl/${faoInstitute.getClass().name}/${faoInstitute.id}/permissions"
><c:param
name=
"back"
>
/wiews/${faoInstitute.code}
</c:param></c:url>
"
class=
"btn btn-default"
>
...
...
@@ -572,7 +572,7 @@
minZoom
:
0
,
maxZoom
:
4
,
/* WIEWS does not provide enough detail */
<c:if
test=
"
${
faoInstitute
.
latitude
ne
null
}
"
>
center
:
new
GenesysMaps
.
LatLng
(
$
{
faoInstitute
.
latitude
},
$
{
faoInstitute
.
longitude
}),
center
:
new
GenesysMaps
.
LatLng
(
$
{
faoInstitute
.
latitude
},
$
{
faoInstitute
.
longitude
}),
markerTitle
:
"
<spring:escapeBody
javaScriptEscape=
"true"
>
${faoInstitute.code}
</spring:escapeBody>
"
,
</c:if>
scrollWheelZoom
:
false
,
...
...
@@ -599,4 +599,4 @@
});
</script>
</content>
</body>
</html>
\ No newline at end of file
</html>
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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