Changeset 843 for trunk/grails-app/views/taskDetailed/workLoad.gsp
- Timestamp:
- Mar 4, 2011, 12:46:19 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/taskDetailed/workLoad.gsp
r836 r843 66 66 <h1>Task Results: ${tasks.size()} / ${tasks.totalCount}</h1> 67 67 68 <g:if test="${tasks.size() > 0}"> 69 <div class="list"> 70 <table> 71 <thead> 72 <tr> 73 74 <th> 75 <img src="${resource(dir:'images/skin',file:'flag_red.png')}" alt="Flag" /> 76 </th> 77 78 <th>Target Start Date</th> 79 80 <th>Description</th> 81 82 <th>Group</th> 83 84 <th>Type</th> 85 86 <th>Priority</th> 87 88 <th>Status</th> 89 90 <th></th> 91 92 </tr> 93 </thead> 94 <tbody> 95 <g:each in="${tasks}" status="i" var="taskInstance"> 96 <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}"> 97 98 <td class="idColumn" onclick='window.location = "${request.getContextPath()}/taskDetailed/show/${taskInstance.id}"'> 99 <g:if test="${taskInstance.attentionFlag}"> 100 <img src="${resource(dir:'images/skin',file:'flag_red.png')}" alt="Flag" /> 101 </g:if> 102 </td> 103 104 <td onclick='window.location = "${request.getContextPath()}/taskDetailed/show/${taskInstance.id}"'> 105 <g:formatDate date="${taskInstance.targetStartDate}" format="EEE, dd-MMM-yyyy"/> 106 </td> 107 108 <td onclick='window.location = "${request.getContextPath()}/taskDetailed/show/${taskInstance.id}"'> 109 <b> 110 Task #${fieldValue(bean:taskInstance, field:'id')}<br /> 111 ${fieldValue(bean:taskInstance, field:'description')} 112 </b> 113 <br /> 114 <br /> 115 <g:if test="${taskInstance.primaryAsset}"> 116 ${fieldValue(bean:taskInstance, field:'primaryAsset')}<br /> 117 </g:if> 118 <g:each in="${taskInstance.assignedGroups}" status="j" var="assignedGroup"> 119 ${assignedGroup.encodeAsHTML()}<br /> 120 </g:each> 121 <g:each in="${taskInstance.assignedPersons}" status="k" var="assignedPerson"> 122 ${assignedPerson.encodeAsHTML()}<br /> 123 </g:each> 124 <g:each in="${taskInstance.entries}" status="m" var="entry"> 125 <g:if test="${entry.entryType.id == 3}"> 126 <em>${'WD: ' +entry.toShortString().encodeAsHTML()}</em><br /> 127 </g:if> 128 </g:each> 129 <g:if test="${taskInstance.subTasks}"> 130 Sub Tasks: ${taskInstance.subTasks.size()}<br /> 131 </g:if> 132 </td> 133 134 <td onclick='window.location = "${request.getContextPath()}/taskDetailed/show/${taskInstance.id}"'> 135 ${fieldValue(bean:taskInstance, field:'taskGroup')} 136 </td> 137 138 <td onclick='window.location = "${request.getContextPath()}/taskDetailed/show/${taskInstance.id}"'> 139 ${fieldValue(bean:taskInstance, field:'taskType')} 140 </td> 141 142 <td onclick='window.location = "${request.getContextPath()}/taskDetailed/show/${taskInstance.id}"'> 143 ${fieldValue(bean:taskInstance, field:'taskPriority')} 144 </td> 145 146 <td onclick='window.location = "${request.getContextPath()}/taskDetailed/show/${taskInstance.id}"'> 147 ${fieldValue(bean:taskInstance, field:'taskStatus')} 148 </td> 149 150 <td class="notClickable"> 151 <g:link action="show" id="${taskInstance.id}"> 152 <img src="${resource(dir:'images/skin',file:'database_go.png')}" alt="Show" /> 153 </g:link> 154 </td> 155 156 </tr> 157 </g:each> 158 </tbody> 159 </table> 160 </div> 161 </g:if> 68 <g:render template="list" model="[taskInstanceList:tasks]"/> 162 69 163 70 <!-- Start Search Pane -->
Note: See TracChangeset
for help on using the changeset viewer.