Changeset 982


Ignore:
Timestamp:
Oct 22, 2010, 1:25:54 PM (13 years ago)
Author:
business@…
Message:

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

File:
1 edited

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>
Note: See TracChangeset for help on using the changeset viewer.