Ignore:
Timestamp:
Feb 3, 2010, 10:09:19 AM (11 years ago)
Author:
ademcan
Message:

Studies comparaison view

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/views/study/show.gsp

    r148 r165  
    3838       Start :<g:formatDate date="${studyInstance?.startDate}" /> <br>
    3939      Sampling Events :
    40           <g:each in="${studyInstance.samplingEvents}" var="s">
     40          <g:each in="${studyInstance.samplingEvents}" var="s"><ul>
    4141            <li><g:link controller="samplingEvent" action="show" id="${s.id}">${s?.encodeAsHTML()}</g:link></li>
    4242          </g:each>
     
    112112            <td><b>Reference</b></td>
    113113          </tr>
    114           <g:each in="${protocolList}" var="s">
     114          <g:each in="${dbnp.studycapturing .Protocol.list()}" var="s">
     115           
     116            <% if  (studyInstance.events.eventDescription.protocol.contains(s)) { %>
     117           
    115118            <tr>
    116119              <td><g:link controller="protocol" action="show" id="${s.id}">${s.id}</g:link></td>
     
    124127          <td>${s.reference}</td>
    125128          </tr>
     129 <%  } %>
     130
    126131          </g:each>
    127132             </table>
Note: See TracChangeset for help on using the changeset viewer.