Changeset 846 for trunk/grails-app/views/entryDetailed/_list.gsp
- Timestamp:
- Mar 4, 2011, 3:58:05 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/entryDetailed/_list.gsp
r838 r846 1 1 2 2 <h1> 3 <g:if test="${entryList[0] ?.entryType?.id == 1}">3 <g:if test="${entryList[0].entryType.id == 1}"> 4 4 Faults 5 5 </g:if> 6 <g:if test="${entryList[0] ?.entryType?.id == 2}">6 <g:if test="${entryList[0].entryType.id == 2}"> 7 7 Causes 8 8 </g:if> 9 <g:if test="${entryList[0] ?.entryType?.id == 3}">9 <g:if test="${entryList[0].entryType.id == 3}"> 10 10 Work Done 11 11 </g:if> 12 <g:if test="${entryList[0] ?.entryType?.id == 6}">12 <g:if test="${entryList[0].entryType.id == 6}"> 13 13 PM Entries 14 14 </g:if> … … 18 18 <thead> 19 19 <tr> 20 <g:if test="${entryList[0] ?.entryType?.id == 6}">20 <g:if test="${entryList[0].entryType.id == 6}"> 21 21 <th> 22 22 <img src="${resource(dir:'images/skin',file:'award_star_silver_3.png')}" … … 27 27 <th>Comment</th> 28 28 <th>Date Done</th> 29 <th>Duration</th> 29 <g:if test="${(entryList[0].entryType.id == 3) || (entryList[0].entryType.id == 6)}"> 30 <th>Duration</th> 31 </g:if> 30 32 <th>Entered By</th> 31 33 <th></th> … … 50 52 </td> 51 53 52 <td onclick='window.location = "${request.getContextPath()}/entryDetailed/edit/${entry.id}"'> 53 ${entry.durationHour}:${entry.durationMinute} 54 </td> 54 <g:if test="${(entryList[0].entryType.id == 3) || (entryList[0].entryType.id == 6)}"> 55 <td onclick='window.location = "${request.getContextPath()}/entryDetailed/edit/${entry.id}"'> 56 ${entry.durationHour}:${entry.durationMinute} 57 </td> 58 </g:if> 55 59 56 60 <td onclick='window.location = "${request.getContextPath()}/entryDetailed/edit/${entry.id}"'>
Note: See TracChangeset
for help on using the changeset viewer.