Last change
on this file since 1440 was
1430,
checked in by work@…, 12 years ago
|
|
-
Property svn:keywords set to
Rev Author Date
|
File size:
2.2 KB
|
Line | |
---|
1 | |
---|
2 | <%@ page import="dbnp.studycapturing.Study" %> |
---|
3 | <html> |
---|
4 | <head> |
---|
5 | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> |
---|
6 | <meta name="layout" content="main" /> |
---|
7 | <g:set var="entityName" value="${message(code: 'study.label', default: 'Study')}" /> |
---|
8 | <title><g:message code="default.list.label" args="[entityName]" /></title> |
---|
9 | </head> |
---|
10 | <body> |
---|
11 | |
---|
12 | <g:form action="list_extended"> |
---|
13 | |
---|
14 | <div class="body"> |
---|
15 | <h1><g:message code="default.list.label" args="[entityName]" /></h1> |
---|
16 | <g:if test="${flash.message}"> |
---|
17 | <div class="message">${flash.message}</div> |
---|
18 | </g:if> |
---|
19 | |
---|
20 | <div class="list"> |
---|
21 | <table> |
---|
22 | <thead> |
---|
23 | <tr> |
---|
24 | <th></th> |
---|
25 | <th>Title</th> |
---|
26 | <g:sortableColumn property="code" title="${message(code: 'study.code.label', default: 'Code')}" /> |
---|
27 | <th>Assays</th> |
---|
28 | </tr> |
---|
29 | </thead> |
---|
30 | <tbody> |
---|
31 | <g:each in="${studyInstanceList}" var="studyInstance" status="i" > |
---|
32 | <tr class="${(i % 2) == 0 ? 'odd' : 'even'}"> |
---|
33 | |
---|
34 | <td><input type="checkbox" name="${studyInstance.title}" id="${studyInstance.title}"></td> |
---|
35 | <td> |
---|
36 | <g:link action="show" id="${studyInstance.id}"> |
---|
37 | ${fieldValue(bean: studyInstance, field: "title")} |
---|
38 | </g:link> |
---|
39 | </td> |
---|
40 | <td>${fieldValue(bean: studyInstance, field: "code")}</td> |
---|
41 | <td> |
---|
42 | <g:if test="${studyInstance.assays.size()==0}"> |
---|
43 | - |
---|
44 | </g:if> |
---|
45 | <g:else> |
---|
46 | ${studyInstance.assays.module.platform.unique().join( ', ' )} |
---|
47 | </g:else> |
---|
48 | </td> |
---|
49 | |
---|
50 | </tr> |
---|
51 | </g:each> |
---|
52 | </tbody> |
---|
53 | </table> |
---|
54 | </div> |
---|
55 | <div class="buttons"> |
---|
56 | <span class="button"><g:link class="create" controller="pilot" action="create"><g:message code="default.new.label" args="[entityName]" /></g:link></span> |
---|
57 | </div> |
---|
58 | <div class="paginateButtons"> |
---|
59 | <g:paginate total="${studyInstanceTotal}" prev="« Previous" next="» Next" /> |
---|
60 | </div> |
---|
61 | </div> |
---|
62 | </g:form> |
---|
63 | </body> |
---|
64 | </html> |
---|
Note: See
TracBrowser
for help on using the repository browser.