Changeset 710


Ignore:
Timestamp:
Jul 26, 2010, 4:44:42 PM (9 years ago)
Author:
keesvb
Message:

changed study view to list and sort on study code

File:
1 edited

Legend:

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

    r593 r710  
    2323              <tr>
    2424                  <th></th>
    25                   <g:sortableColumn property="title" title="${message(code: 'study.title.label', default: 'Title')}" />
     25                  <g:sortableColumn property="code" title="${message(code: 'study.code.label', default: 'Code')}" />
     26                      <th>Title</th>
    2627                  <th>Subjects</th>
    2728                  <th>Events</th>
     
    3536                  <td><input type="checkbox" name="${studyInstance.title}" id="${studyInstance.title}"></td>
    3637
    37                   <td><g:link action="show" id="${studyInstance.id}">${fieldValue(bean: studyInstance, field: "title")}</g:link></td>
    38 
     38                  <td><g:link action="show" id="${studyInstance.id}">${fieldValue(bean: studyInstance, field: "code")}</g:link></td>
     39                      <td>
     40                              ${fieldValue(bean: studyInstance, field: "title")}
     41                      </td>
    3942                  <td>
    4043                    <g:if test="${studyInstance.subjects.species.size()==0}">
Note: See TracChangeset for help on using the changeset viewer.