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
53bef5dd
Commit
53bef5dd
authored
Oct 18, 2013
by
Matija Obreza
Browse files
Addressed issue
#5
parent
2eb9b6df
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/main/resources/content/language.properties
View file @
53bef5dd
...
...
@@ -152,6 +152,7 @@ accession.inSvalbard=Svalbardized
accession.inTrust.true
=
This accession is under Article 15 of the International Treaty on Plant Genetic Resources for Food and Agriculture.
accession.mlsStatus.true
=
This accession is in the Multilateral System of ITPGRFA.
accession.inSvalbard.true
=
Super-safety duplicated in Svalbard Seed Vault.
accession.not-available-for-distribution
=
The accession is not available for distribution.
accession.altitude
=
Altitude
accession.geolocation
=
Geolocation (lat, long)
accession.breederCode
=
Breeder Code
...
...
src/main/webapp/WEB-INF/decorator/header.jsp
View file @
53bef5dd
...
...
@@ -40,25 +40,25 @@
</div>
<div
class=
"notimportant navbar pull-right"
>
<sec:authorize
access=
"isAnonymous()"
>
<sec
urity
:authorize
access=
"isAnonymous()"
>
<ul
class=
"nav"
>
<li><a
href=
"
<c:url
value=
"/login"
/>
"
><spring:message
code=
"page.login"
/></a>
</ul>
</sec:authorize>
<sec:authorize
access=
"isAuthenticated()"
>
</sec
urity
:authorize>
<sec
urity
:authorize
access=
"isAuthenticated()"
>
<ul
class=
"nav"
>
<li
class=
"dropdown"
><a
class=
"dropdown-toggle"
data-toggle=
"dropdown"
title=
"
<spring:message
code=
"locale.language.change"
/>
"
>
You are
<b>
${user.username}
</b>
<b
class=
"caret"
></b>
</a>
<ul
class=
"dropdown-menu"
>
<sec:authorize
access=
"hasRole('ADMINISTRATOR')"
>
<sec
urity
:authorize
access=
"hasRole('ADMINISTRATOR')"
>
<li><a
href=
"
<c:url
value=
"/admin/"
/>
"
><spring:message
code=
"user.pulldown.administration"
/></a></li>
</sec:authorize>
</sec
urity
:authorize>
<li><a
href=
"
<c:url
value=
"/profile/${user.username}"
/>
"
><spring:message
code=
"user.pulldown.profile"
/></a></li>
<li><a
href=
"
<c:url
value=
"/logout"
/>
"
><spring:message
code=
"user.pulldown.logout"
/></a></li>
</ul></li>
</ul>
</sec:authorize>
</sec
urity
:authorize>
</div>
</div>
</div>
\ No newline at end of file
</div>
src/main/webapp/WEB-INF/jsp/accession/details.jsp
View file @
53bef5dd
...
...
@@ -36,6 +36,12 @@
<spring:message
code=
"accession.mlsStatus.true"
/>
</div>
</c:if>
<c:if
test=
"
${
not
accession
.
availability
}
"
>
<div
class=
"alert alert-warning"
>
<spring:message
code=
"accession.not-available-for-distribution"
/>
</div>
</c:if>
<table>
<tbody>
...
...
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