Changeset 199
- Timestamp:
- Feb 15, 2010, 4:50:34 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/searchable/selectsample.gsp
r196 r199 33 33 <td><b> Sample Name </b></td> 34 34 <td><b> Sample Material </b></td> 35 <td><b> Duration</b></td>35 <td><b> Start Time </b></td> 36 36 <g:if test="${subgroups.size>0}"> <td><b> Subgroups </b></td> </g:if> 37 37 </tr> … … 45 45 46 46 47 <g:each in ="${studyIns.events}" var="events"> 47 <g:if test="${studyIns.samplingEvents.size ()>0}" > 48 <g:each in ="${studyIns.samplingEvents}" var="event"> 49 <g:each in ="${event.samples}" var="sample"> 48 50 <tr> 49 51 <td></td><td></td> 50 <td> <input type="checkbox" name="${studyIns.id}.${event s.subject.name}" id="${events.subject.name}" class="checkbox2${studyIns.id}" >51 ${event s.subject.name} </td>52 <td> <input type="checkbox" name="${studyIns.id}.${event.subject.name}" id="${event.subject.name}" class="checkbox2${studyIns.id}" > 53 ${event.subject.name} </td> 52 54 <td> ${studyIns.samplingEvents} </td> 53 <td> ${s tudyIns.samplingEvents.samples.name}</td>54 <td> ${s tudyIns.samplingEvents.samples.material}</td>55 <td> ${event s.getDurationString()}</td>55 <td> ${sample.name}</td> 56 <td> ${sample.material}</td> 57 <td> ${event.getPrettyDuration( studyIns.startDate, event.startTime)} </td> 56 58 57 59 <g:if test="${subgroups.size>0}"> … … 64 66 </tr> 65 67 </g:each> 68 </g:each> 69 </g:if> 66 70 67 71 72 <g:else> 73 <tr> 74 <td></td> <td>Study does not cotain any samples. </td> 75 <td></td> <td></td> <td></td> <td></td> <td></td> 76 <g:if test="${subgroups.size>0}"> <td></td> </g:if> 77 </tr> 78 </g:else> 68 79 </g:each> 69 80 70 81 </table> 71 82 … … 86 97 </script> 87 98 </g:each> 88 89 90 99 91 100 <%}%>
Note: See TracChangeset
for help on using the changeset viewer.