Changeset 181 for trunk/grails-app/views
- Timestamp:
- Nov 5, 2009, 4:01:35 AM (15 years ago)
- Location:
- trunk/grails-app/views
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/_about.gsp
r152 r181 63 63 <tbody> 64 64 <tr class="prop"> 65 <td valign="top" class="name">Silk icon set acknowledgement.</td> 66 <td></td> 65 <td valign="top" class="name"> 66 Silk icon set acknowledgement.<br /> 67 Many thanks for the fabulous silk icon set. 68 </td> 69 67 70 68 71 </tr> -
trunk/grails-app/views/task/create.gsp
r178 r181 127 127 <tr class="prop"> 128 128 <td valign="top" class="name"> 129 <label for=" isActive">Is Active:</label>129 <label for="approved">Approved:</label> 130 130 </td> 131 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:' isActive','errors')}">132 <g:checkBox name=" isActive" value="${taskInstance?.isActive}" ></g:checkBox>131 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'approved','errors')}"> 132 <g:checkBox name="approved" value="${taskInstance?.approved}" ></g:checkBox> 133 133 </td> 134 134 </tr> … … 136 136 <tr class="prop"> 137 137 <td valign="top" class="name"> 138 <label for=" isApproved">Is Approved:</label>138 <label for="scheduled">Scheduled:</label> 139 139 </td> 140 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'isApproved','errors')}"> 141 <g:checkBox name="isApproved" value="${taskInstance?.isApproved}" ></g:checkBox> 142 </td> 143 </tr> 144 145 <tr class="prop"> 146 <td valign="top" class="name"> 147 <label for="isScheduled">Is Scheduled:</label> 148 </td> 149 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'isScheduled','errors')}"> 150 <g:checkBox name="isScheduled" value="${taskInstance?.isScheduled}" ></g:checkBox> 140 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'scheduled','errors')}"> 141 <g:checkBox name="scheduled" value="${taskInstance?.scheduled}" ></g:checkBox> 151 142 </td> 152 143 </tr> … … 170 161 </tr> 171 162 163 <tr class="prop"> 164 <td valign="top" class="name"> 165 <label for="trash">Trash:</label> 166 </td> 167 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'trash','errors')}"> 168 <g:checkBox name="trash" value="${taskInstance?.trash}" ></g:checkBox> 169 </td> 170 </tr> 171 172 172 </tbody> 173 173 </table> -
trunk/grails-app/views/task/edit.gsp
r178 r181 130 130 <tr class="prop"> 131 131 <td valign="top" class="name"> 132 <label for="approved">Approved:</label> 133 </td> 134 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'approved','errors')}"> 135 <g:checkBox name="approved" value="${taskInstance?.approved}" ></g:checkBox> 136 </td> 137 </tr> 138 139 <tr class="prop"> 140 <td valign="top" class="name"> 132 141 <label for="assignedPersons">Assigned Persons:</label> 133 142 </td> … … 191 200 <tr class="prop"> 192 201 <td valign="top" class="name"> 193 <label for="isActive">Is Active:</label> 194 </td> 195 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'isActive','errors')}"> 196 <g:checkBox name="isActive" value="${taskInstance?.isActive}" ></g:checkBox> 197 </td> 198 </tr> 199 200 <tr class="prop"> 201 <td valign="top" class="name"> 202 <label for="isApproved">Is Approved:</label> 203 </td> 204 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'isApproved','errors')}"> 205 <g:checkBox name="isApproved" value="${taskInstance?.isApproved}" ></g:checkBox> 206 </td> 207 </tr> 208 209 <tr class="prop"> 210 <td valign="top" class="name"> 211 <label for="isScheduled">Is Scheduled:</label> 212 </td> 213 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'isScheduled','errors')}"> 214 <g:checkBox name="isScheduled" value="${taskInstance?.isScheduled}" ></g:checkBox> 202 <label for="scheduled">Scheduled:</label> 203 </td> 204 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'scheduled','errors')}"> 205 <g:checkBox name="scheduled" value="${taskInstance?.scheduled}" ></g:checkBox> 215 206 </td> 216 207 </tr> … … 263 254 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'taskType','errors')}"> 264 255 <g:select optionKey="id" from="${TaskType.list()}" name="taskType.id" value="${taskInstance?.taskType?.id}" ></g:select> 256 </td> 257 </tr> 258 259 <tr class="prop"> 260 <td valign="top" class="name"> 261 <label for="trash">Trash:</label> 262 </td> 263 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'trash','errors')}"> 264 <g:checkBox name="trash" value="${taskInstance?.trash}" ></g:checkBox> 265 265 </td> 266 266 </tr> -
trunk/grails-app/views/task/show.gsp
r178 r181 107 107 108 108 <tr class="prop"> 109 <td valign="top" class="name">Approved:</td> 110 111 <td valign="top" class="value">${fieldValue(bean:taskInstance, field:'approved')}</td> 112 113 </tr> 114 115 <tr class="prop"> 109 116 <td valign="top" class="name">Assigned Persons:</td> 110 117 … … 159 166 160 167 <tr class="prop"> 161 <td valign="top" class="name">Is Active:</td> 162 163 <td valign="top" class="value">${fieldValue(bean:taskInstance, field:'isActive')}</td> 164 165 </tr> 166 167 <tr class="prop"> 168 <td valign="top" class="name">Is Approved:</td> 169 170 <td valign="top" class="value">${fieldValue(bean:taskInstance, field:'isApproved')}</td> 171 172 </tr> 173 174 <tr class="prop"> 175 <td valign="top" class="name">Is Scheduled:</td> 176 177 <td valign="top" class="value">${fieldValue(bean:taskInstance, field:'isScheduled')}</td> 168 <td valign="top" class="name">Scheduled:</td> 169 170 <td valign="top" class="value">${fieldValue(bean:taskInstance, field:'scheduled')}</td> 178 171 179 172 </tr> … … 216 209 217 210 <td valign="top" class="value"><g:link controller="taskType" action="show" id="${taskInstance?.taskType?.id}">${taskInstance?.taskType?.encodeAsHTML()}</g:link></td> 211 212 </tr> 213 214 <tr class="prop"> 215 <td valign="top" class="name">Trash:</td> 216 217 <td valign="top" class="value">${fieldValue(bean:taskInstance, field:'trash')}</td> 218 218 219 219 </tr> -
trunk/grails-app/views/taskDetailed/create.gsp
r180 r181 106 106 <g:select optionKey="id" from="${TaskPriority.list()}" name="taskPriority.id" value="${taskInstance?.taskPriority?.id}" ></g:select> 107 107 </td> 108 </tr> 108 </tr> 109 109 110 110 <tr class="prop"> 111 111 <td valign="top" class="name"> 112 <label for=" taskStatus">Task Status:</label>112 <label for="scheduled">Scheduled:</label> 113 113 </td> 114 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'taskStatus','errors')}"> 115 <g:select optionKey="id" from="${TaskStatus.list()}" name="taskStatus.id" value="${taskInstance?.taskStatus?.id}" ></g:select> 116 </td> 117 </tr> 118 119 <tr class="prop"> 120 <td valign="top" class="name"> 121 <label for="isActive">Is Active:</label> 122 </td> 123 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'isActive','errors')}"> 124 <g:checkBox name="isActive" value="${taskInstance?.isActive}" ></g:checkBox> 125 </td> 126 </tr> 127 128 <tr class="prop"> 129 <td valign="top" class="name"> 130 <label for="isApproved">Is Approved:</label> 131 </td> 132 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'isApproved','errors')}"> 133 <g:checkBox name="isApproved" value="${taskInstance?.isApproved}" ></g:checkBox> 134 </td> 135 </tr> 136 137 <tr class="prop"> 138 <td valign="top" class="name"> 139 <label for="isScheduled">Is Scheduled:</label> 140 </td> 141 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'isScheduled','errors')}"> 142 <g:checkBox name="isScheduled" value="${taskInstance?.isScheduled}" ></g:checkBox> 114 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'scheduled','errors')}"> 115 <g:checkBox name="scheduled" value="${taskInstance?.scheduled}" ></g:checkBox> 143 116 </td> 144 117 </tr> -
trunk/grails-app/views/taskDetailed/edit.gsp
r168 r181 114 114 <tr class="prop"> 115 115 <td valign="top" class="name"> 116 <label for=" taskStatus">Task Status:</label>116 <label for="scheduled">Scheduled:</label> 117 117 </td> 118 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'taskStatus','errors')}"> 119 <g:select optionKey="id" from="${TaskStatus.list()}" name="taskStatus.id" value="${taskInstance?.taskStatus?.id}" ></g:select> 120 </td> 121 </tr> 122 123 <tr class="prop"> 124 <td valign="top" class="name"> 125 <label for="isActive">Is Active:</label> 126 </td> 127 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'isActive','errors')}"> 128 <g:checkBox name="isActive" value="${taskInstance?.isActive}" ></g:checkBox> 129 </td> 130 </tr> 131 132 <tr class="prop"> 133 <td valign="top" class="name"> 134 <label for="isApproved">Is Approved:</label> 135 </td> 136 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'isApproved','errors')}"> 137 <g:checkBox name="isApproved" value="${taskInstance?.isApproved}" ></g:checkBox> 138 </td> 139 </tr> 140 141 <tr class="prop"> 142 <td valign="top" class="name"> 143 <label for="isScheduled">Is Scheduled:</label> 144 </td> 145 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'isScheduled','errors')}"> 146 <g:checkBox name="isScheduled" value="${taskInstance?.isScheduled}" ></g:checkBox> 118 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'scheduled','errors')}"> 119 <g:checkBox name="scheduled" value="${taskInstance?.scheduled}" ></g:checkBox> 147 120 </td> 148 121 </tr> … … 181 154 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'assignedPersons','errors')}"> 182 155 183 <ul> 184 <g:each var="a" in="${taskInstance?.assignedPersons?}"> 185 <li><g:link controller="assignedPersonDetailed" action="edit" id="${a.id}">${a?.encodeAsHTML()}</g:link></li> 186 </g:each> 187 </ul> 188 <g:link controller="assignedPersonDetailed" params="['task.id':taskInstance?.id]" action="create">Add AssignedPerson</g:link> 156 <ul> 157 <g:each var="a" in="${taskInstance?.assignedPersons?}"> 158 <li><g:link controller="assignedPersonDetailed" action="edit" id="${a.id}">${a?.encodeAsHTML()}</g:link></li> 159 </g:each> 160 </ul> 189 161 190 162 </td> 191 </tr> 163 </tr> 192 164 193 194 195 165 </tbody> 196 166 </table> … … 198 168 <div class="buttons"> 199 169 <span class="button"><g:actionSubmit class="save" value="Update" /></span> 200 <span class="button"><g:actionSubmit class="delete" onclick="return confirm('Are you sure?');" value="Delete" /></span> 170 <span class="button"><g:actionSubmit class="cancel" value="Cancel" action="show"/></span> 171 <span class="button"><g:actionSubmit class="trash" onclick="return confirm('Are you sure?');" value="Trash" /></span> 201 172 </div> 202 173 </g:form> -
trunk/grails-app/views/taskDetailed/searchCalendar.gsp
r155 r181 44 44 class="overlayPane" 45 45 additionalProperties="id" 46 excludeProperties=" isActive, comment, targetCompletionDate"46 excludeProperties="trash, comment, targetCompletionDate" 47 47 associatedProperties="leadPerson.lastName, taskPriority.name" 48 48 filterPropertyValues="${['taskPriority.name':[values:TaskPriority.list()], -
trunk/grails-app/views/taskDetailed/show.gsp
r180 r181 16 16 <div class="message">${flash.message}</div> 17 17 </g:if> 18 <g:if test="${taskInstance.trash}" > 19 <div class="errors"> 20 This task is in the trash bin, but can be restored if required. 21 </div> 22 </g:if> 18 23 <g:hasErrors bean="${taskInstance}"> 19 24 <div class="errors"> … … 75 80 showElement('modControlOpened'); 76 81 hideElement('modControlClosed'); return false;"> 77 Modifications <img src="${resource(dir:'images/skin',file:' sorted_asc.gif')}" alt="Show" />82 Modifications <img src="${resource(dir:'images/skin',file:'bullet_toggle_plus.png')}" alt="Show" /> 78 83 </a> 79 84 </div> … … 83 88 showElement('modControlClosed'); 84 89 return false;"> 85 Modifications <img src="${resource(dir:'images/skin',file:' sorted_desc.gif')}" alt="Show" />90 Modifications <img src="${resource(dir:'images/skin',file:'bullet_toggle_minus.png')}" alt="Show" /> 86 91 </a> 87 92 </div> … … 142 147 143 148 <tr class="prop"> 144 <td valign="top" class="name">Active:</td>145 146 <td valign="top" class="value">${fieldValue(bean:taskInstance, field:'isActive')}</td>147 148 </tr>149 150 <tr class="prop">151 149 <td valign="top" class="name">Approved:</td> 152 150 153 <td valign="top" class="value">${fieldValue(bean:taskInstance, field:' isApproved')}</td>151 <td valign="top" class="value">${fieldValue(bean:taskInstance, field:'approved')}</td> 154 152 155 153 </tr> … … 158 156 <td valign="top" class="name">Scheduled:</td> 159 157 160 <td valign="top" class="value">${fieldValue(bean:taskInstance, field:' isScheduled')}</td>158 <td valign="top" class="value">${fieldValue(bean:taskInstance, field:'scheduled')}</td> 161 159 162 160 </tr> … … 204 202 <g:form> 205 203 <input type="hidden" name="id" value="${taskInstance?.id}" /> 206 <span class="button"><g:actionSubmit class="edit" value="Edit" /></span> 207 <span class="button"><g:actionSubmit class="delete" onclick="return confirm('Are you sure?');" value="Delete" /></span> 204 205 <g:if test="${taskInstance.trash}" > 206 <span class="button"><g:actionSubmit class="restore" onclick="return confirm('Are you sure?');" value="Restore" /></span> 207 </g:if> 208 <g:else> 209 210 <g:if test="${taskInstance.taskStatus.id != 3}" > 211 <span class="button"><g:actionSubmit class="complete" value="Complete" /></span> 212 213 <g:if test="${taskInstance.approved}" > 214 <span class="button"><g:actionSubmit class="renegeApproval" value="Renege Approval" action="renegeApproval" /></span> 215 </g:if> 216 <g:else> 217 <span class="button"><g:actionSubmit class="approve" value="Approve" /></span> 218 </g:else> 219 220 <span class="button"><g:actionSubmit class="edit" value="Edit" /></span> 221 <span class="button"><g:actionSubmit class="trash" onclick="return confirm('Are you sure?');" value="Trash" /></span> 222 223 </g:if> 224 <g:else> 225 <span class="button"><g:actionSubmit class="reopen" value="Reopen" /></span> 226 </g:else> 227 228 </g:else> 208 229 </g:form> 209 230 </div> … … 252 273 <th>Entered By</th> 253 274 <th></th> 254 255 <!-- <g:sortableColumn property="commentW" title="Comment" />256 257 <g:sortableColumn property="dateDoneW" title="Date Done" />258 259 <g:sortableColumn property="enteredByW" title="Entered By" />-->260 275 </tr> 261 276 </thead>
Note: See TracChangeset
for help on using the changeset viewer.