Commit ee71696a authored by Matija Obreza's avatar Matija Obreza
Browse files

"All crops" link

parent 19633967
......@@ -102,6 +102,7 @@ userprofile.update.title=Update your profile
user.page.list.title=Registered user accounts
crop.croplist=Crop list
crop.all-crops=All crops
crop.page.profile.title={0} profile
crop.taxonomy-rules=Taxonomic rules
crop.view-descriptors=View crop descriptors...
......
......@@ -31,6 +31,7 @@
<c:if test="${cropList ne null and cropList.size() gt 0}">
<div class="content-block" id="crop-list">
<ul class="nav">
<li><a class="show" href="<c:url value="/acn/" />"><spring:message code="crop.all-crops" /></a></li>
<c:forEach items="${cropList}" var="crop" varStatus="status">
<li><a class="show" href="/c/${crop.shortName}/data"><c:out value="${crop.getName(pageContext.response.locale)}" /></a></li>
</c:forEach>
......
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