Changeset 982

Show
Ignore:
Timestamp:
22-10-10 13:25:54 (3 years ago)
Author:
business@…
Message:

updated study show to also display parent event and subject of a sample

Files:
1 modified

Legend:

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

    r976 r982  
    665665                    <th></th> 
    666666                  </g:if> 
     667 
     668                        <th>Parent Subject</th> 
     669                        <th>Parent Sampling Event</th> 
     670 
     671 
    667672                  <g:each in="${new dbnp.studycapturing.Sample().giveDomainFields()}" var="field"> 
    668673                    <th>${field}</th> 
     
    729734                      </td> 
    730735                    </g:if> 
     736                          <td>${sample.parentSubject?.name}</td> 
     737                          <td>${sample.parentEvent?.template?.name} at ${sample.parentEvent?.getStartTimeString()}</td> 
    731738                    <g:each in="${sample.giveDomainFields()}" var="field"> 
    732739                      <td>${sample.getFieldValue(field.name)}</td>