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="${layout}" /> |
---|
7 | <g:set var="entityName" value="${message(code: 'study.label', default: 'Study')}" /> |
---|
8 | <title><g:message code="default.show.label" args="[entityName]" /></title> |
---|
9 | </head> |
---|
10 | <body> |
---|
11 | <div class="body"> |
---|
12 | <h1><g:message code="default.show.label" args="[entityName]" /></h1> |
---|
13 | <g:if test="${flash.message}"> |
---|
14 | <div class="message">${flash.message}</div> |
---|
15 | </g:if> |
---|
16 | <div class="dialog"> |
---|
17 | <p> |
---|
18 | <b>Instructions</b>: You are now on the Study page. |
---|
19 | All information within the application is related to a study. |
---|
20 | For this pilot a Metabolomics Assay has been created. |
---|
21 | Click on this assay to continue with the pilot. |
---|
22 | </p> |
---|
23 | <table> |
---|
24 | <tbody> |
---|
25 | |
---|
26 | <tr class="prop"> |
---|
27 | <td valign="top" class="name"><g:message code="study.title.label" default="Title" /></td> |
---|
28 | |
---|
29 | <td valign="top" class="value">${fieldValue(bean: studyInstance, field: "title")}</td> |
---|
30 | |
---|
31 | </tr> |
---|
32 | <tr class="prop"> |
---|
33 | <td valign="top" class="name"><g:message code="study.code.label" default="Code" /></td> |
---|
34 | |
---|
35 | <td valign="top" class="value">${fieldValue(bean: studyInstance, field: "code")}</td> |
---|
36 | |
---|
37 | </tr> |
---|
38 | |
---|
39 | <tr class="prop"> |
---|
40 | <td valign="top" class="name">Assays</td> |
---|
41 | |
---|
42 | <td valign="top" class="value"> |
---|
43 | <g:each in="${studyInstance.assays.unique()}" var="assay"> |
---|
44 | <g:link controller="assay" action="show" id="${assay.id}">${assay.name}</g:link><br /> |
---|
45 | </g:each> |
---|
46 | </td> |
---|
47 | |
---|
48 | </tr> |
---|
49 | |
---|
50 | </tbody> |
---|
51 | </table> |
---|
52 | </div> |
---|
53 | <div class="buttons"> |
---|
54 | <g:form> |
---|
55 | <g:hiddenField name="id" value="${studyInstance?.id}" /> |
---|
56 | <g:each in="${extraparams}" var="param"> |
---|
57 | <input type="hidden" name="${param.key}" value="${param.value}"> |
---|
58 | </g:each> |
---|
59 | <span class="button"><g:actionSubmit class="edit" action="edit" value="${message(code: 'default.button.edit.label', default: 'Edit')}" /></span> |
---|
60 | <span class="button"><g:actionSubmit class="delete" action="delete" value="${message(code: 'default.button.delete.label', default: 'Delete')}" onclick="return confirm('${message(code: 'default.button.delete.confirm.message', default: 'Are you sure?')}');" /></span> |
---|
61 | <span class="button"><g:link class="backToList" action="list" params="${extraparams}">Back to list</g:link></span> |
---|
62 | </g:form> |
---|
63 | </div> |
---|
64 | </div> |
---|
65 | </body> |
---|
66 | </html> |
---|