Last change
on this file since 1261 was
1261,
checked in by s.h.sikkema@…, 13 years ago
|
Changed jumbar layout to simple iframe for modules
|
-
Property svn:keywords set to
Date Author Rev
|
File size:
1.3 KB
|
Line | |
---|
1 | <g:if test="${studyList*.assays?.flatten()?.size()==0}"> |
---|
2 | No assays in these studies |
---|
3 | </g:if> |
---|
4 | <g:else> |
---|
5 | <table> |
---|
6 | <thead> |
---|
7 | <tr> |
---|
8 | <g:if test="${multipleStudies}"> |
---|
9 | <th></th> |
---|
10 | </g:if> |
---|
11 | <th width="100">Assay Code</th> |
---|
12 | <th width="100">Assay Name</th> |
---|
13 | <th width="100">Module</th> |
---|
14 | <th width="150">Platform</th> |
---|
15 | <th>Link</th> |
---|
16 | <th>Samples</th> |
---|
17 | </tr> |
---|
18 | </thead> |
---|
19 | <g:set var="i" value="${1}" /> |
---|
20 | |
---|
21 | <g:each in="${studyList}" var="studyInstance"> |
---|
22 | <g:each in="${studyInstance.assays}" var="assay" status="j"> |
---|
23 | <tr class="${(i % 2) == 0 ? 'odd' : 'even'}"> |
---|
24 | <g:if test="${multipleStudies && j==0}"> |
---|
25 | <td class="studytitle" rowspan="${studyInstance.assays?.size()}"> |
---|
26 | ${studyInstance.title} |
---|
27 | </td> |
---|
28 | </g:if> |
---|
29 | <td>${assay.token}</td> |
---|
30 | <td>${assay.name}</td> |
---|
31 | <td>${assay.module.name}</td> |
---|
32 | <td>${assay.module.platform}</td> |
---|
33 | <td> |
---|
34 | <jumpbar:link frameSource="${assay.module.url}/assay/showByToken/${assay.externalAssayID}" pageTitle="Metabolomics Module"> |
---|
35 | view |
---|
36 | </jumpbar:link></td> |
---|
37 | <td> |
---|
38 | <% sortedAssaySamples = assay.samples.sort( { a, b -> a.name <=> b.name } as Comparator ) %> |
---|
39 | ${sortedAssaySamples.name.join( ', ' )} |
---|
40 | </td> |
---|
41 | </tr> |
---|
42 | <g:set var="i" value="${i + 1}" /> |
---|
43 | |
---|
44 | </g:each> |
---|
45 | </g:each> |
---|
46 | </table> |
---|
47 | </g:else> |
---|
Note: See
TracBrowser
for help on using the repository browser.