Changeset 858 for trunk/grails-app


Ignore:
Timestamp:
Mar 12, 2011, 11:56:37 PM (13 years ago)
Author:
gav
Message:

Add productionReference and down time to entry list template.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/views/entryDetailed/_list.gsp

    r846 r858  
    3030                            <th>Duration</th>
    3131                        </g:if>
     32                        <g:if test="${entryList[0].entryType.id == 1}">
     33                            <th>Production</th>
     34                            <th>Down Time</th>
     35                        </g:if>
    3236                        <th>Entered By</th>
    3337                        <th></th>
     
    5862                                </g:if>
    5963
     64                                <g:if test="${entryList[0].entryType.id == 1}">
     65                                    <td onclick='window.location = "${request.getContextPath()}/entryDetailed/edit/${entry.id}"'>
     66                                        ${fieldValue(bean:entry, field:'productionReference')}
     67                                    </td>
     68                                    <td onclick='window.location = "${request.getContextPath()}/entryDetailed/edit/${entry.id}"'>
     69                                        ${entry.durationHour}:${entry.durationMinute}
     70                                    </td>
     71                                </g:if>
     72
    6073                                <td onclick='window.location = "${request.getContextPath()}/entryDetailed/edit/${entry.id}"'>
    6174                                    ${entry.enteredBy.encodeAsHTML()}
Note: See TracChangeset for help on using the changeset viewer.