Changeset 1856 for trunk


Ignore:
Timestamp:
May 23, 2011, 11:00:02 AM (8 years ago)
Author:
work@…
Message:
Location:
trunk/grails-app/views
Files:
2 edited

Legend:

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

    r1769 r1856  
    5050          <th></th>
    5151          <g:each in="${showTemplates}" var="eventTemplate">
    52                 <th colspan="${[1, showProperties[ eventTemplate.name ].size() + 1 ].max()}">${eventTemplate.name}</th>
     52                <th colspan="${[1, showProperties[ eventTemplate.name ].size() + 1 ].max()}">${eventTemplate.name} (<g:if test="${eventTemplate.entity == SamplingEvent}">sampling </g:if>event)</th>
    5353          </g:each>
    5454          <th></th>
  • trunk/grails-app/views/studyWizard/pages/_events.gsp

    r1809 r1856  
     1<%@ page import="dbnp.studycapturing.SamplingEvent" %>
    12<%
    23/**
     
    9798                <g:each var="template" in="${study.giveAllEventTemplates()}">
    9899                        <g:set var="showHeader" value="${true}" />
    99                         <h1>${template}</h1>
     100                        <h1>${template} (<g:if test="${template.entity == SamplingEvent}">sampling event</g:if><g:else>treatment, challenge, etc.</g:else>)</h1>
    100101                        <div class="tableEditor">
    101102                        <g:each var="event" in="${study.giveEventsForTemplate(template)}">
Note: See TracChangeset for help on using the changeset viewer.