Changeset 1046 for trunk/grails-app/views/pilot/show.gsp
- Timestamp:
- Nov 2, 2010, 10:25:06 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/pilot/show.gsp
r959 r1046 18 18 <b>Instructions</b>: You are now on the Study page. 19 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. 20 For this pilot a Metabolomics Assay has been created.<br /><br /> 21 22 <g:if test="${studyInstance.samples.size() == 0}"> 23 Currently there are no samples registered for this study. Please use the <b>"Import Samples"</b> to add samples to this study. 24 </g:if> 25 26 <g:if test="${studyInstance.samples.size() > 0}"> 27 Click on this assay to continue with the pilot. 28 </g:if> 29 30 22 31 </p> 23 32 <table> … … 27 36 <td valign="top" class="name"><g:message code="study.title.label" default="Title" /></td> 28 37 29 <td valign="top" class="value">${fieldValue(bean: studyInstance, field: "title")} </td>38 <td valign="top" class="value">${fieldValue(bean: studyInstance, field: "title")} (${fieldValue(bean: studyInstance, field: "code")})</td> 30 39 31 40 </tr> 32 41 <tr class="prop"> 33 <td valign="top" class="name"> <g:message code="study.code.label" default="Code" /></td>42 <td valign="top" class="name">Samples (${studyInstance.samples.size()})</td> 34 43 35 <td valign="top" class="value">${fieldValue(bean: studyInstance, field: "code")}</td> 44 <td valign="top" class="value"> 45 46 <g:if test="${studyInstance.samples.size() == 0}"> 47 <g:link controller="importer" action="simpleWizard">Import Samples</g:link> 48 </g:if> 49 50 <g:if test="${studyInstance.samples.size() > 0}"> 51 ${studyInstance.samples.join( ', ' )} 52 </g:if> 53 </td> 36 54 37 55 </tr>
Note: See TracChangeset
for help on using the changeset viewer.