- Timestamp:
- Feb 4, 2010, 2:34:56 PM (11 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/application.properties
r139 r171 1 1 #Grails Metadata file 2 # Tue Jan 26 12:10:14CET 20102 #Wed Feb 03 11:58:08 CET 2010 3 3 app.grails.version=1.2.0 4 4 app.name=gscf -
trunk/grails-app/views/study/list.gsp
r165 r171 21 21 <div class="message">${flash.message}</div> 22 22 </g:if> 23 <div class="list">24 23 25 <g:each in="${studyInstanceList}" status="i"var="studyInstance">24 <g:each in="${studyInstanceList}" var="studyInstance"> 26 25 <br> 27 26 <table> 28 <tr class="${(i % 2) == 0 ? 'odd' : 'even'}"> 27 <tr> 28 <td></td> 29 <td colspan="3"> 30 <center><b>${studyInstance.title}</b></center> 31 </td> 32 </tr> 33 <tr> 29 34 <td> 35 30 36 <input type="checkbox" name="${studyInstance.title}" id="${studyInstance.title}"></td> 31 37 32 <td width=200>38 <td> 33 39 <g:link action="show" id="${studyInstance.id}"> 34 40 ${message(code: 'study.id.label', default: 'Id')} : 35 41 ${fieldValue(bean: studyInstance, field: "id")}</g:link></td> 36 42 37 <td width=300>38 ${message(code: 'study.template.label', default: 'Template')}:43 <td > 44 <b>${message(code: 'study.template.label', default: 'Template')} </b>: 39 45 ${fieldValue(bean: studyInstance, field: "template")}</td> 40 46 41 <td width=500>42 ${message(code: 'study.startDate.label', default: 'Start Date')}:43 <g:formatDate date="${studyInstance.startDate}" /></td>47 <td > 48 <b>${message(code: 'study.subjects.label', default: 'Subjects')} </b>: 49 ${studyInstance.subjects.size()} subjects</td> 44 50 45 <td width=500> 46 ${message(code: 'study.lastUpdated.label', default: 'Last Updated')} : 47 <g:formatDate date="${studyInstance.lastUpdated}" /></td> 51 </tr> 52 <tr> 53 <td></td> 54 <td > 55 <b>${message(code: 'study.owner.label', default: 'Owner')} </b>: 56 ${fieldValue(bean: studyInstance, field: "owner")}</td> 48 57 49 <td width=300>50 ${message(code: 'study.code.label', default: 'Code')} : 51 ${fieldValue(bean: studyInstance, field: "code")}</td>52 53 <td width=300>54 ${message(code: 'study.ecCode.label', default: 'Ec Code')} : 55 ${fieldValue(bean: studyInstance, field: "ecCode")}</td> 56 57 58 <td > 59 <b>Assays </b>: </td> 60 </tr> 61 <tr> 62 <td></td> 63 <td colspan="3"> 64 <b>${message(code: 'study.description.label', default: 'Description')} </b>: 65 ${fieldValue(bean: studyInstance, field: "description")}</td> 66 </tr> 58 67 </table> 59 68 </g:each> 60 </table> 61 </div> 69 62 70 <div class="paginateButtons"> 63 71 <g:paginate total="${studyInstanceTotal}" /> -
trunk/grails-app/views/study/list_extended.gsp
r165 r171 19 19 20 20 <% studyList = dbnp.studycapturing.Study.list() %> 21 <% def att_list = [' startDate','code','title'] %>21 <% def att_list = ['template','startDate','samplingEvents','lastUpdated','readers','code','editors','ecCode','researchQuestion','title','description','owner','dateCreated'] %> 22 22 <% def selectedStudies = [] %> 23 23 <% def tmpList = [] %> … … 25 25 <div class="nav"> 26 26 <span class="menuButton"><a class="home" href="${createLink(uri: '/')}">Home</a></span> 27 <span class="menuButton"><g:link class="list" action="list"><g:message code="default.list.label" args="[entityName]" /></g:link></span> 27 28 <span class="menuButton"><g:link class="create" action="create"><g:message code="default.new.label" args="[entityName]" /></g:link></span> 28 29 </div> 29 30 30 31 <div class="body"> 31 <h1> Compare Studies</h1>32 <h1>Studies Comparison</h1> 32 33 <g:if test="${flash.message}"> 33 34 <div class="message">${flash.message}</div> -
trunk/grails-app/views/study/show.gsp
r165 r171 34 34 <a href="#"> Study Information </a> 35 35 36 <div> Id: ${fieldValue(bean: studyInstance, field: "id")} <br>37 Template:<g:link controller="template" action="show" id="${studyInstance?.template?.id}">${studyInstance?.template?.encodeAsHTML()}</g:link><br>38 Start:<g:formatDate date="${studyInstance?.startDate}" /> <br>39 Sampling Events:36 <div><b> Id </b>: ${fieldValue(bean: studyInstance, field: "id")} <br> 37 <b>Template </b>:<g:link controller="template" action="show" id="${studyInstance?.template?.id}">${studyInstance?.template?.encodeAsHTML()}</g:link><br> 38 <b> Start </b>:<g:formatDate date="${studyInstance?.startDate}" /> <br> 39 <b>Sampling Events </b>: 40 40 <g:each in="${studyInstance.samplingEvents}" var="s"><ul> 41 41 <li><g:link controller="samplingEvent" action="show" id="${s.id}">${s?.encodeAsHTML()}</g:link></li> 42 42 </g:each> 43 43 </ul><br> 44 Last Updated:<g:formatDate date="${studyInstance?.lastUpdated}" /><br>45 Readers:<ul>44 <b>Last Updated </b>:<g:formatDate date="${studyInstance?.lastUpdated}" /><br> 45 <b>Readers </b>:<ul> 46 46 <g:each in="${studyInstance.readers}" var="r"> 47 47 <li><g:link controller="user" action="show" id="${r.id}">${r?.encodeAsHTML()}</g:link></li> 48 48 </g:each> 49 49 </ul> <br> 50 Code: ${fieldValue(bean: studyInstance, field: "code")} <br>51 Editors: <ul>50 <b>Code </b>: ${fieldValue(bean: studyInstance, field: "code")} <br> 51 <b>Editors </b>: <ul> 52 52 <g:each in="${studyInstance.editors}" var="e"> 53 53 <li><g:link controller="user" action="show" id="${e.id}">${e?.encodeAsHTML()}</g:link></li> 54 54 </g:each> 55 55 </ul> <br> 56 EC Code: ${fieldValue(bean: studyInstance, field: "ecCode")} <br>57 Research Question: ${fieldValue(bean: studyInstance, field: "researchQuestion")} <br>58 Title: ${fieldValue(bean: studyInstance, field: "title")} <br>59 Description: ${fieldValue(bean: studyInstance, field: "description")} <br>60 Owner:<g:link controller="user" action="show" id="${studyInstance?.owner?.id}">${studyInstance?.owner?.encodeAsHTML()}</g:link> <br>61 Date Created:<g:formatDate date="${studyInstance?.dateCreated}" /> <br>56 <b>EC Code </b>: ${fieldValue(bean: studyInstance, field: "ecCode")} <br> 57 <b>Research Question </b>: ${fieldValue(bean: studyInstance, field: "researchQuestion")} <br> 58 <b>Title </b>: ${fieldValue(bean: studyInstance, field: "title")} <br> 59 <b>Description </b>: ${fieldValue(bean: studyInstance, field: "description")} <br> 60 <b>Owner </b>:<g:link controller="user" action="show" id="${studyInstance?.owner?.id}">${studyInstance?.owner?.encodeAsHTML()}</g:link> <br> 61 <b>Date Created </b>:<g:formatDate date="${studyInstance?.dateCreated}" /> <br> 62 62 </div> 63 63
Note: See TracChangeset
for help on using the changeset viewer.