Changeset 70 for branches/TaskRewrite/src
- Timestamp:
- Mar 9, 2009, 11:33:35 PM (16 years ago)
- Location:
- branches/TaskRewrite/src/grails-app
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/TaskRewrite/src/grails-app/conf/NoCacheFilters.groovy
r69 r70 5 5 before = { 6 6 7 // From the Acegi login controller8 response.setHeader( 'Cache-Control', 'no-cache')// HTTP 1.17 //Turn off as much caching as we can. 8 response.setHeader("Cache-Control", "no-cache,no-store,must-revalidate")// HTTP 1.1 9 9 response.addDateHeader('Expires', 0) 10 10 response.setDateHeader('max-age', 0) 11 11 response.setIntHeader ('Expires', -1) //prevents caching at the proxy server 12 12 response.addHeader('cache-Control', 'private') //IE5.x only 13 14 //Additional from the net 15 response.addHeader('Pragma', 'no-cache') 16 response.addHeader('Cache-Control', 'no-store') 17 response.addHeader('Cache-Control', 'must-revalidate') 13 response.addHeader('Pragma', 'no-cache') //HTTP 1.0 18 14 19 15 } -
branches/TaskRewrite/src/grails-app/views/layouts/main.gsp
r59 r70 13 13 <div id="content" align="center"> 14 14 <div id="spinner" class="spinner" style="display:none;"> 15 <img src="${createLinkTo(dir:'images',file:'spinner. png')}" alt="Spinner" />15 <img src="${createLinkTo(dir:'images',file:'spinner.gif')}" alt="Spinner" /> 16 16 </div> 17 17 <!-- <div class="logo" style="text-align: center; width: 980px; height: 220px"> -
branches/TaskRewrite/src/grails-app/views/task/create.gsp
r69 r70 51 51 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'leadPerson','errors')}"> 52 52 <g:select optionKey="id" from="${Person.list()}" name="leadPerson.id" value="${taskInstance?.leadPerson?.id}" ></g:select> 53 </td> 54 </tr> 55 56 <tr class="prop"> 57 <td valign="top" class="name"> 58 <label for="taskPriority">Task Priority:</label> 59 </td> 60 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'taskPriority','errors')}"> 61 <g:select optionKey="id" from="${TaskPriority.list()}" name="taskPriority.id" value="${taskInstance?.taskPriority?.id}" ></g:select> 53 62 </td> 54 63 </tr> … … 126 135 </tr> 127 136 137 <tr class="prop"> 138 <td valign="top" class="name"> 139 <label for="taskType">Task Type:</label> 140 </td> 141 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'taskType','errors')}"> 142 <g:select optionKey="id" from="${TaskType.list()}" name="taskType.id" value="${taskInstance?.taskType?.id}" ></g:select> 143 </td> 144 </tr> 145 128 146 </tbody> 129 147 </table> -
branches/TaskRewrite/src/grails-app/views/task/edit.gsp
r69 r70 58 58 <tr class="prop"> 59 59 <td valign="top" class="name"> 60 <label for="taskPriority">Task Priority:</label> 61 </td> 62 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'taskPriority','errors')}"> 63 <g:select optionKey="id" from="${TaskPriority.list()}" name="taskPriority.id" value="${taskInstance?.taskPriority?.id}" ></g:select> 64 </td> 65 </tr> 66 67 <tr class="prop"> 68 <td valign="top" class="name"> 60 69 <label for="taskStatus">Task Status:</label> 61 70 </td> … … 189 198 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'taskGroup','errors')}"> 190 199 <g:select optionKey="id" from="${TaskGroup.list()}" name="taskGroup.id" value="${taskInstance?.taskGroup?.id}" ></g:select> 200 </td> 201 </tr> 202 203 <tr class="prop"> 204 <td valign="top" class="name"> 205 <label for="taskType">Task Type:</label> 206 </td> 207 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'taskType','errors')}"> 208 <g:select optionKey="id" from="${TaskType.list()}" name="taskType.id" value="${taskInstance?.taskType?.id}" ></g:select> 191 209 </td> 192 210 </tr> -
branches/TaskRewrite/src/grails-app/views/task/list.gsp
r69 r70 30 30 <th>Lead Person</th> 31 31 32 <th>Task Priority</th> 33 32 34 <th>Task Status</th> 33 34 <th>Parent Task</th>35 35 36 36 </tr> … … 48 48 <td>${fieldValue(bean:taskInstance, field:'leadPerson')}</td> 49 49 50 <td>${fieldValue(bean:taskInstance, field:'taskPriority')}</td> 51 50 52 <td>${fieldValue(bean:taskInstance, field:'taskStatus')}</td> 51 52 <td>${fieldValue(bean:taskInstance, field:'parentTask')}</td>53 53 54 54 </tr> -
branches/TaskRewrite/src/grails-app/views/task/show.gsp
r69 r70 48 48 49 49 <td valign="top" class="value"><g:link controller="person" action="show" id="${taskInstance?.leadPerson?.id}">${taskInstance?.leadPerson?.encodeAsHTML()}</g:link></td> 50 51 </tr> 52 53 <tr class="prop"> 54 <td valign="top" class="name">Task Priority:</td> 55 56 <td valign="top" class="value"><g:link controller="taskPriority" action="show" id="${taskInstance?.taskPriority?.id}">${taskInstance?.taskPriority?.encodeAsHTML()}</g:link></td> 50 57 51 58 </tr> … … 153 160 </tr> 154 161 162 <tr class="prop"> 163 <td valign="top" class="name">Task Type:</td> 164 165 <td valign="top" class="value"><g:link controller="taskType" action="show" id="${taskInstance?.taskType?.id}">${taskInstance?.taskType?.encodeAsHTML()}</g:link></td> 166 167 </tr> 168 155 169 </tbody> 156 170 </table>
Note: See TracChangeset
for help on using the changeset viewer.