Changeset 114
- Timestamp:
- Apr 14, 2009, 10:03:07 AM (16 years ago)
- Location:
- trunk/grails-app
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/conf/BootStrap.groovy
r102 r114 211 211 //Task 212 212 def taskInstance 213 def subTaskInstance214 213 215 214 taskInstance = new Task(taskGroup:TaskGroup.findByName("Engineering Activites"), … … 222 221 BootStrapSaveAndTest(taskInstance) 223 222 224 subTaskInstance = new Task(taskGroup:TaskGroup.findByName("Engineering Activites"), 225 taskStatus:TaskStatus.findByName("Not Started"), 226 taskPriority:TaskPriority.get(2), 227 taskType:TaskType.get(1), 228 leadPerson:Person.get(5), 229 description:"Some follow-up work", 230 comment:"Some help required") 231 BootStrapSaveAndTest(subTaskInstance) 232 233 //Add task 2 as a subTask of task 1. 234 taskInstance.addToSubTasks(Task.get(2)) 235 subTaskInstance.parentTask = Task.get(1) 236 237 subTaskInstance = new Task(taskGroup:TaskGroup.findByName("Engineering Activites"), 223 taskInstance = new Task(taskGroup:TaskGroup.findByName("Engineering Activites"), 224 taskStatus:TaskStatus.findByName("Not Started"), 225 taskPriority:TaskPriority.get(2), 226 taskType:TaskType.get(1), 227 leadPerson:Person.get(5), 228 description:"Some follow-up work", 229 comment:"Some help required", 230 parentTask: Task.get(1)) 231 BootStrapSaveAndTest(taskInstance) 232 233 taskInstance = new Task(taskGroup:TaskGroup.findByName("Engineering Activites"), 234 taskStatus:TaskStatus.findByName("Not Started"), 235 taskPriority:TaskPriority.get(2), 236 taskType:TaskType.get(1), 237 leadPerson:Person.get(5), 238 description:"A Sub Task can be created by setting the Parent Task value", 239 comment:"Some help required", 240 parentTask: Task.get(1)) 241 BootStrapSaveAndTest(taskInstance) 242 243 taskInstance = new Task(taskGroup:TaskGroup.findByName("Engineering Activites"), 238 244 taskStatus:TaskStatus.findByName("Not Started"), 239 245 taskPriority:TaskPriority.get(2), … … 241 247 leadPerson:Person.get(4), 242 248 description:"Replace sensor at next opportunity.", 243 comment:"Nothing else has worked.") 244 BootStrapSaveAndTest(subTaskInstance) 245 246 //Add task 3 as a subTask of task 1. 247 taskInstance.addToSubTasks(Task.get(3)) 248 subTaskInstance.parentTask = Task.get(1) 249 comment:"Nothing else has worked.", 250 parentTask: Task.get(1)) 251 BootStrapSaveAndTest(taskInstance) 249 252 250 253 taskInstance = new Task(taskGroup:TaskGroup.findByName("Production Activites"), -
trunk/grails-app/views/assignedPersonDetailed/show.gsp
r96 r114 33 33 <td valign="top" class="name">Task:</td> 34 34 35 <td valign="top" class="value"><g:link controller="task " action="show" id="${assignedPersonInstance?.task?.id}">${assignedPersonInstance?.task?.encodeAsHTML()}</g:link></td>35 <td valign="top" class="value"><g:link controller="taskDetailed" action="show" id="${assignedPersonInstance?.task?.id}">${assignedPersonInstance?.task?.encodeAsHTML()}</g:link></td> 36 36 37 37 </tr> -
trunk/grails-app/views/login/auth.gsp
r106 r114 46 46 <div id='login'> 47 47 <h1>Welcome to gnuMims please log in</h1> 48 The demo users are "manager" and "user" both having password "pass"48 The demo users are <b>manager</b> and <b>user</b> both having the password: <b>pass</b> 49 49 50 50 <div class='inner'>
Note: See TracChangeset
for help on using the changeset viewer.