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
1364c8eb
Commit
1364c8eb
authored
Jan 14, 2016
by
Matija Obreza
Browse files
Exclude lists when empty
parent
1355c915
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/webapp/WEB-INF/jsp/project/view.jsp
View file @
1364c8eb
...
...
@@ -30,23 +30,25 @@
<%@include
file=
"/WEB-INF/jsp/content/include/blurp-display.jsp"
%>
</c:if>
<div
class=
"content-section-2015"
>
<h3>
<span>
<spring:message
code=
"project.accessionLists"
/>
</span>
</h3>
<div
class=
"row"
>
<div
class=
"col-md-offset-2 col-md-10"
>
<ul>
<c:forEach
items=
"
${
accessionLists
}
"
var=
"accessionList"
>
<li>
<a
href=
"
<c:url
value=
"/explore"
><c:param
name=
"filter"
value=
'{"lists":["${accessionList.uuid}"]}'
/></c:url>
"
><c:out
value=
"
${
accessionList
.
title
}
"
/></a>
</li>
</c:forEach>
</ul>
<c:if
test=
"
${
fn:
length
(
accessionLists
)
gt
0
}
"
>
<div
class=
"content-section-2015"
>
<h3>
<span>
<spring:message
code=
"project.accessionLists"
/>
</span>
</h3>
<div
class=
"row"
>
<div
class=
"col-md-offset-2 col-md-10"
>
<ul>
<c:forEach
items=
"
${
accessionLists
}
"
var=
"accessionList"
>
<li>
<a
href=
"
<c:url
value=
"/explore"
><c:param
name=
"filter"
value=
'{"lists":["${accessionList.uuid}"]}'
/></c:url>
"
><c:out
value=
"
${
accessionList
.
title
}
"
/></a>
</li>
</c:forEach>
</ul>
</div>
</div>
</div>
</
div
>
</
c:if
>
</body>
</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