Changeset 586
- Timestamp:
- Jun 9, 2010, 11:36:55 AM (15 years ago)
- Location:
- trunk/grails-app
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/domain/Entry.groovy
r431 r586 25 25 "${this.comment} - ${this.enteredBy}, ${this.dateDone}" 26 26 } 27 28 String toShortString() { 29 "${enteredBy.firstName} ${enteredBy.lastName} - ${durationHour}h : ${durationMinute}min" 30 } 27 31 } 28 32 -
trunk/grails-app/views/taskDetailed/search.gsp
r583 r586 92 92 params="${filterParams}" /> 93 93 94 <g:sortableColumn property="id" title="Id" params="${filterParams}" />95 96 94 <g:sortableColumn property="targetStartDate" title="Target Start Date" params="${filterParams}" /> 97 95 98 96 <g:sortableColumn property="description" title="Description" params="${filterParams}" /> 99 97 98 <g:sortableColumn property="taskGroup" title="Group" params="${filterParams}" /> 99 100 <g:sortableColumn property="taskType" title="Type" params="${filterParams}" /> 101 100 102 <g:sortableColumn property="taskPriority" title="Priority" params="${filterParams}" /> 101 102 <g:sortableColumn property="taskType" title="Type" params="${filterParams}" />103 103 104 104 <g:sortableColumn property="taskStatus" title="Status" params="${filterParams}" /> … … 123 123 </td> 124 124 125 <td class="idColumn" onclick='window.location = "${request.getContextPath()}/taskDetailed/show/${taskInstance.id}"'>126 ${fieldValue(bean:taskInstance, field:'id')}127 </td>128 129 125 <td onclick='window.location = "${request.getContextPath()}/taskDetailed/show/${taskInstance.id}"'> 130 126 <g:formatDate date="${taskInstance.targetStartDate}" format="EEE, dd-MMM-yyyy"/> … … 132 128 133 129 <td onclick='window.location = "${request.getContextPath()}/taskDetailed/show/${taskInstance.id}"'> 134 <b>${fieldValue(bean:taskInstance, field:'description')}</b> 130 <b> 131 Task #${fieldValue(bean:taskInstance, field:'id')}<br /> 132 ${fieldValue(bean:taskInstance, field:'description')} 133 </b> 135 134 <br /> 136 135 <br /> … … 138 137 ${fieldValue(bean:taskInstance, field:'primaryAsset')}<br /> 139 138 </g:if> 140 ${fieldValue(bean:taskInstance, field:'taskGroup')}<br />141 139 <g:each in="${taskInstance.assignedGroups}" status="j" var="assignedGroup"> 142 140 ${assignedGroup.encodeAsHTML()}<br /> … … 145 143 ${assignedPerson.encodeAsHTML()}<br /> 146 144 </g:each> 145 <g:each in="${taskInstance.entries}" status="m" var="entry"> 146 <g:if test="${entry.entryType.id == 3}"> 147 <em>${'WD: ' +entry.toShortString().encodeAsHTML()}</em><br /> 148 </g:if> 149 </g:each> 150 <g:if test="${taskInstance.subTasks}"> 151 Sub Tasks: ${taskInstance.subTasks.size()}<br /> 152 </g:if> 153 </td> 154 155 <td onclick='window.location = "${request.getContextPath()}/taskDetailed/show/${taskInstance.id}"'> 156 ${fieldValue(bean:taskInstance, field:'taskGroup')} 157 </td> 158 159 <td onclick='window.location = "${request.getContextPath()}/taskDetailed/show/${taskInstance.id}"'> 160 ${fieldValue(bean:taskInstance, field:'taskType')} 147 161 </td> 148 162 149 163 <td onclick='window.location = "${request.getContextPath()}/taskDetailed/show/${taskInstance.id}"'> 150 164 ${fieldValue(bean:taskInstance, field:'taskPriority')} 151 </td>152 153 <td onclick='window.location = "${request.getContextPath()}/taskDetailed/show/${taskInstance.id}"'>154 ${fieldValue(bean:taskInstance, field:'taskType')}155 165 </td> 156 166
Note: See TracChangeset
for help on using the changeset viewer.