Changeset 226


Ignore:
Timestamp:
Mar 3, 2010, 11:42:39 AM (13 years ago)
Author:
ademcan
Message:

Study List and Study Comparaison with new Template version

Location:
trunk/grails-app
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/domain/dbnp/studycapturing

    • Property svn:ignore set to
      TemplateStudyField.groovy
  • trunk/grails-app/views/study/list_extended.gsp

    r223 r226  
    153153            <td><b>Species</b></td>
    154154            <td><b>Name</b></td>
    155           <g:each in="${stud.template.subjectFields}" var="g">
     155          <g:each in="${stud.template.fields}" var="g">
    156156            <td><b>
    157               <g:link controller="templateSubjectField" action="show" id="${g.id}">
     157              <g:link controller="templateField" action="show" id="${g.id}">
    158158              ${g}</b></td>
    159159            </g:link>
     
    167167              <td>${s.name}</td>
    168168
    169                 <g:each in="${stud.template.subjectFields}" var="g">
     169                <g:each in="${stud.template.fields}" var="g">
    170170               <td>
    171171                  <% print s.getFieldValue(g.toString())  %>
  • trunk/grails-app/views/study/show.gsp

    r223 r226  
    135135            <td><b>Species</b></td>
    136136            <td><b>Name</b></td>
    137           <g:each in="${studyInstance.template.subjectFields}" var="g">
     137          <g:each in="${studyInstance.template.fields}" var="g">
    138138            <td><b>
    139               <g:link controller="templateSubjectField" action="show" id="${g.id}">
     139              <g:link controller="templateField" action="show" id="${g.id}">
    140140              ${g}</b></td>
    141141            </g:link>
     
    148148              <td>${s.species}</td>
    149149              <td>${s.name}</td>
    150 
    151                 <g:each in="${studyInstance.template.subjectFields}" var="g">
     150              <g:each in="${studyInstance.template.fields}" var="g">
    152151               <td>
    153152                  <% print s.getFieldValue(g.toString())  %>
    154             </td>
    155           </g:each>
    156           </tr>
    157           </g:each>
     153               </td>
     154          </g:each>
     155            </tr>
     156          </g:each>
     157
    158158          </table>
    159159      </div>
Note: See TracChangeset for help on using the changeset viewer.