Changeset 368 for trunk/grails-app
- Timestamp:
- Feb 17, 2010, 9:45:51 PM (15 years ago)
- Location:
- trunk/grails-app
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/controllers/TaskProcedureDetailedController.groovy
r366 r368 118 118 taskInstance: taskInstance] 119 119 } else { 120 flash.message = "Please select a task, thenthe Procedure tab."120 flash.message = "Please select or create a task, then go to the Procedure tab." 121 121 redirect(controller:"taskDetailed", action:"search") 122 122 } -
trunk/grails-app/views/maintenanceActionDetailed/create.gsp
r269 r368 9 9 <body> 10 10 <div class="nav"> 11 < span class="menuButton"><g:link class="list" action="list">MaintenanceAction List</g:link></span>11 <h1>Create Maintenance Action</h1> 12 12 </div> 13 13 <div class="body"> 14 <h1>Create MaintenanceAction</h1>15 14 <g:if test="${flash.message}"> 16 15 <div class="message">${flash.message}</div> … … 104 103 <td valign="top" class="value ${hasErrors(bean:maintenanceActionInstance,field:'taskProcedure','errors')}"> 105 104 <g:select optionKey="id" from="${TaskProcedure.list()}" name="taskProcedure.id" value="${maintenanceActionInstance?.taskProcedure?.id}" ></g:select> 105 <p><g:link controller="taskProcedureDetailed" action="create">Add Task Procedure</g:link></p> 106 106 </td> 107 </tr> 107 </tr> 108 108 109 109 </tbody> -
trunk/grails-app/views/maintenanceActionDetailed/edit.gsp
r269 r368 9 9 <body> 10 10 <div class="nav"> 11 <span class="menuButton"><g:link class="list" action="list">MaintenanceAction List</g:link></span> 12 <span class="menuButton"><g:link class="create" action="create">New MaintenanceAction</g:link></span> 11 <h1>Edit Maintenance Action</h1> 13 12 </div> 14 13 <div class="body"> 15 <h1>Edit MaintenanceAction</h1>16 14 <g:if test="${flash.message}"> 17 15 <div class="message">${flash.message}</div> -
trunk/grails-app/views/maintenanceActionDetailed/show.gsp
r345 r368 9 9 <body> 10 10 <div class="nav"> 11 <span class="menuButton"><g:link class="list" action="list">MaintenanceAction List</g:link></span> 12 <span class="menuButton"><g:link class="create" action="create">New MaintenanceAction</g:link></span> 11 <h1>Show Maintenance Action</h1> 13 12 </div> 14 13 <div class="body"> 15 <h1>Show MaintenanceAction</h1>16 14 <g:if test="${flash.message}"> 17 15 <div class="message">${flash.message}</div> … … 53 51 <td valign="top" class="name">Maintenance Policy:</td> 54 52 55 <td valign="top" class="value"><g:link controller="maintenancePolicy " action="show" id="${maintenanceActionInstance?.maintenancePolicy?.id}">${maintenanceActionInstance?.maintenancePolicy?.encodeAsHTML()}</g:link></td>53 <td valign="top" class="value"><g:link controller="maintenancePolicyDetailed" action="show" id="${maintenanceActionInstance?.maintenancePolicy?.id}">${maintenanceActionInstance?.maintenancePolicy?.encodeAsHTML()}</g:link></td> 56 54 57 55 </tr>
Note: See TracChangeset
for help on using the changeset viewer.