Changeset 124 for trunk/grails-app/views/taskDetailed
- Timestamp:
- May 4, 2009, 1:59:11 PM (16 years ago)
- Location:
- trunk/grails-app/views/taskDetailed
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/taskDetailed/list.gsp
r110 r124 38 38 <tbody> 39 39 <g:each in="${taskInstanceList}" status="i" var="taskInstance"> 40 <tr class="${(i % 2) == 0 ? 'odd' : 'even'}">41 40 <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}" onclick='window.location = "${request.getContextPath()}/taskDetailed/show/${taskInstance.id}"'/> 41 42 42 <td>${fieldValue(bean:taskInstance, field:'id')}</td> 43 43 … … 64 64 </div> 65 65 <div class="paginateButtons"> 66 <g:paginate total="${ Task.count()}" />66 <g:paginate total="${taskInstanceTotal}" /> 67 67 </div> 68 68 </div> -
trunk/grails-app/views/taskDetailed/show.gsp
r106 r124 176 176 <tbody> 177 177 <g:each in="${taskInstance?.entries}" status="i" var="entry"> 178 <g:if test="${entry.entryType == EntryType.findByName('Fault')}"> 179 <tr class="${(i % 2) == 0 ? ' odd' : 'even'}">178 <g:if test="${entry.entryType == EntryType.findByName('Fault')}"> 179 <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}" onclick='window.location = "${request.getContextPath()}/entryDetailed/edit/${entry.id}"'/> 180 180 181 181 <td style="width:65%">${entry.comment}</td> … … 183 183 <td>${entry.durationHour}:${entry.durationMinute}</td> 184 184 <td>${entry.enteredBy}</td> 185 185 186 <td> 186 187 <g:link controller="entryDetailed" action="edit" id="${entry.id}"> … … 189 190 </td> 190 191 192 </tr> 191 193 </g:if> 192 193 </tr>194 194 </g:each> 195 195 </tbody> … … 207 207 <th>Entered By</th> 208 208 <th></th> 209 209 210 <!-- <g:sortableColumn property="commentW" title="Comment" /> 210 211 … … 216 217 <tbody> 217 218 <g:each in="${taskInstance?.entries}" status="i" var="entry"> 218 <g:if test="${entry.entryType == EntryType.findByName('WorkDone')}"> 219 <tr class="${(i % 2) == 0 ? ' odd' : 'even'}">220 219 <g:if test="${entry.entryType == EntryType.findByName('WorkDone')}"> 220 <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}" onclick='window.location = "${request.getContextPath()}/entryDetailed/edit/${entry.id}"'/> 221 221 222 <td width="65%">${entry.comment}</td> 222 223 <td><g:formatDate date="${entry.dateDone}" format="EEE, dd MMM yyyy"/></td> 223 224 <td>${entry.durationHour}:${entry.durationMinute}</td> 224 225 <td>${entry.enteredBy}</td> 226 225 227 <td> 226 228 <g:link controller="entryDetailed" action="edit" id="${entry.id}"> … … 228 230 </g:link> 229 231 </td> 232 233 </tr> 230 234 </g:if> 231 232 </tr>233 235 </g:each> 234 236 </tbody>
Note: See TracChangeset
for help on using the changeset viewer.