Commit 53bef5dd authored by Matija Obreza's avatar Matija Obreza

Addressed issue #5

parent 2eb9b6df
......@@ -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
......
......@@ -40,25 +40,25 @@
</div>
<div class="notimportant navbar pull-right">
<sec:authorize access="isAnonymous()">
<security: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()">
</security:authorize>
<security: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')">
<security:authorize access="hasRole('ADMINISTRATOR')">
<li><a href="<c:url value="/admin/" />"><spring:message code="user.pulldown.administration" /></a></li>
</sec:authorize>
</security: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>
</security:authorize>
</div>
</div>
</div>
\ No newline at end of file
</div>
......@@ -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>
......
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