Changeset 867
- Timestamp:
- Mar 15, 2011, 8:08:19 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/taskDetailed/listSubTasks.gsp
r630 r867 29 29 <g:paginate action="listSubTasks" id="${parentTaskInstance?.id}" total="${taskInstanceTotal}" /> 30 30 </div> 31 <div class="list">32 <input type="hidden" name="parentTaskId" value="${parentTaskInstance?.id}" />33 <table>34 <thead>35 <tr>36 37 <g:sortableColumn action="listSubTasks" property="id" title="Id" />38 39 <g:sortableColumn action="listSubTasks" property="targetStartDate" title="Target Start Date" />40 41 <g:sortableColumn action="listSubTasks" property="description" title="Description" />42 43 <g:sortableColumn action="listSubTasks" property="leadPerson" title="Lead Person" />44 45 <g:sortableColumn action="listSubTasks" property="taskPriority" title="Task Priority" />46 47 <g:sortableColumn action="listSubTasks" property="taskStatus" title="Task Status" />48 31 49 <th></th> 50 51 </tr> 52 </thead> 53 <tbody> 54 <g:each in="${taskInstanceList}" status="i" var="taskInstance"> 55 <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}" onclick='window.location = "${request.getContextPath()}/taskDetailed/show/${taskInstance.id}"'/> 32 <g:render template="list" /> 56 33 57 <td>${fieldValue(bean:taskInstance, field:'id')}</td>58 59 <td><g:formatDate date="${taskInstance.targetStartDate}" format="EEE, dd-MMM-yyyy"/></td>60 61 <td>${fieldValue(bean:taskInstance, field:'description')}</td>62 63 <td>${fieldValue(bean:taskInstance, field:'leadPerson')}</td>64 65 <td>${fieldValue(bean:taskInstance, field:'taskPriority')}</td>66 67 <td>${fieldValue(bean:taskInstance, field:'taskStatus')}</td>68 69 <td>70 <g:link action="show" id="${taskInstance.id}">71 <img src="${resource(dir:'images/skin',file:'database_go.png')}" alt="Show" />72 </g:link>73 </td>74 75 </tr>76 </g:each>77 </tbody>78 </table>79 </div>80 34 <div class="paginateButtons"> 81 35 <g:paginate action="listSubTasks" id="${parentTaskInstance?.id}" total="${taskInstanceTotal}" />
Note: See TracChangeset
for help on using the changeset viewer.