Changeset 754 for trunk/grails-app/views


Ignore:
Timestamp:
Jul 30, 2010, 3:05:41 PM (11 years ago)
Author:
keesvb
Message:

big refactoring / change of the data model: implemented belongsTo everywhere where it should be, added comments to the domain classes, changed BootStrap? accordingly

Location:
trunk/grails-app/views
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/views/query/selectsample.gsp

    r497 r754  
    6868                 <td> ${sample.material}</td>
    6969
    70                  <td> ${event.getPrettyDuration(event.startTime)} </td>
     70                 <td> ${event.getStartTimeString()} </td>
    7171
    7272                 <td>
  • trunk/grails-app/views/study/show.gsp

    r629 r754  
    450450                    events = studyInstance.events + studyInstance.samplingEvents;
    451451                    sortedEvents = events.sort( { a, b ->
    452                           a.startTime == b.startTime ?
    453                             a.getDuration().getValue() <=> b.getDuration().getValue() :
    454                             a.startTime <=> b.startTime
     452                          //a.startTime == b.startTime ?
     453                            //a.getDuration().getValue() <=> b.getDuration().getValue() :
     454                          a.startTime <=> b.startTime
    455455                      } as Comparator )
    456456                  %>
     
    463463                        </td>
    464464                      </g:if>
    465                       <td>${new RelTime(event.startTime).toPrettyString()}</td>
    466                       <td>${event.getPrettyDuration()}</td>
     465                      <td>${event.getStartTimeString()}</td>
     466                      <td>${event.getDurationString()}</td>
    467467                      <td>${event.template.name}</td>
    468468                      <td>
Note: See TracChangeset for help on using the changeset viewer.