Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Genesys Backend
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
12
Issues
12
List
Boards
Labels
Service Desk
Milestones
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Genesys PGR
Genesys Backend
Commits
f89e2d72
Commit
f89e2d72
authored
Dec 22, 2015
by
Matija Obreza
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed display for selected columns in /explore
parent
5de135c9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
18 deletions
+14
-18
src/main/webapp/WEB-INF/jsp/accession/explore.jsp
src/main/webapp/WEB-INF/jsp/accession/explore.jsp
+14
-18
No files found.
src/main/webapp/WEB-INF/jsp/accession/explore.jsp
View file @
f89e2d72
...
...
@@ -426,7 +426,7 @@
<%--<td><a href="<c:url value="/geo/${accession.institute.country.code3}" />"><c:out value="${accession.institute.country.name}" /></a></td>--%>
<c:forEach
items=
"
${
selectedColumns
}
"
var=
"col"
>
<c:choose>
<c:when
test=
"
${
col
eq
'
scientific
Name'
}
"
>
<c:when
test=
"
${
col
eq
'
taxonomy.sci
Name'
}
"
>
<td><span
dir=
"ltr"
class=
"sci-name"
><c:out
value=
"
${
accession
.
taxonomy
.
sciName
}
"
/></span></td>
</c:when>
<c:when
test=
"
${
col
eq
'orgCty'
}
"
>
...
...
@@ -435,18 +435,18 @@
<c:when
test=
"
${
col
eq
'sampStat'
}
"
>
<td
class=
"notimportant"
><spring:message
code=
"accession.sampleStatus.${accession.sampStat}"
/></td>
</c:when>
<c:when
test=
"
${
col
eq
'inst
C
ode'
}
"
>
<c:when
test=
"
${
col
eq
'inst
itute.c
ode'
}
"
>
<td
class=
"notimportant"
><a
href=
"
<c:url
value=
"/wiews/${accession.institute.code}"
/>
"
><c:out
value=
"
${
accession
.
institute
.
code
}
"
/></a></td>
</c:when>
<c:when
test=
"
${
col
eq
'genus'
}
"
>
<td
class=
"notimportant"
><
c:out
value=
"
${
accession
.
taxonomy
.
genus
}
"
/
></td>
<c:when
test=
"
${
col
eq
'
taxonomy.
genus'
}
"
>
<td
class=
"notimportant"
><
span
dir=
"ltr"
class=
"sci-name"
><c:out
value=
"
${
accession
.
taxonomy
.
genus
}
"
/></span
></td>
</c:when>
<c:when
test=
"
${
col
eq
'species'
}
"
>
<td
class=
"notimportant"
><
c:out
value=
"
${
accession
.
taxonomy
.
species
}
"
/
></td>
<c:when
test=
"
${
col
eq
'
taxonomy.
species'
}
"
>
<td
class=
"notimportant"
><
span
dir=
"ltr"
class=
"sci-name"
><c:out
value=
"
${
accession
.
taxonomy
.
species
}
"
/></span
></td>
</c:when>
<c:when
test=
"
${
col
eq
'subtaxa'
}
"
>
<td
class=
"notimportant"
><
c:out
value=
"
${
accession
.
taxonomy
.
subtaxa
}
"
/
></td>
<c:when
test=
"
${
col
eq
'
taxonomy.
subtaxa'
}
"
>
<td
class=
"notimportant"
><
span
dir=
"ltr"
class=
"sci-name"
><c:out
value=
"
${
accession
.
taxonomy
.
subtaxa
}
"
/></span
></td>
</c:when>
<c:when
test=
"
${
col
eq
'crops'
}
"
>
<c:if
test=
"
${
fn:
length
(
accession
.
crops
)
==
0
}
"
>
...
...
@@ -457,10 +457,6 @@
value=
"
${
crop
.
getName
(
pageContext
.
response
.
locale
)
}
"
/></a></td>
</c:forEach>
<%--<td class="notimportant"><c:out value="${accession.accessionId.pdci.cropName}"/></td>--%>
</c:when>
<c:when
test=
"
${
col
eq
'latitudeAndLongitude'
}
"
>
<td
class=
"notimportant"
dir=
"ltr"
><c:out
value=
"
${
accession
.
geo
.
latitude
}
"
/>
,
<c:out
value=
" ${accession.geo.longitude}"
/></td>
</c:when>
<c:otherwise>
<c:set
var=
"elVal"
value=
"
${
accession
}
"
/>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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