Changeset 758 for branches/features/taskProcedureRework/grails-app/views/taskProcedureDetailed/edit.gsp
- Timestamp:
- Jan 26, 2011, 3:29:08 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/features/taskProcedureRework/grails-app/views/taskProcedureDetailed/edit.gsp
r754 r758 35 35 <tr class="prop"> 36 36 <td valign="top" class="name"> 37 <label for="taskInstance">Parent Task:</label> 38 </td> 39 <td valign="top" name="taskInstance" class="value"> 40 <g:link controller="taskDetailed" action="show" id="${taskProcedureInstance.parentTask.id}"> 41 ${taskProcedureInstance.parentTask.encodeAsHTML()} 42 </g:link> 43 </td> 44 </tr> 45 46 <tr class="prop"> 47 <td valign="top" class="name"> 37 48 <label for="maintenanceActions">Maintenance Actions:</label> 38 49 </td> 39 50 <td valign="top" class="value ${hasErrors(bean:taskProcedureInstance,field:'maintenanceActions','errors')}"> 40 41 <ul> 42 <g:each var="m" in="${taskProcedureInstance?.maintenanceActions?}"> 43 <li><g:link controller="maintenanceActionDetailed" action="show" id="${m.id}">${m?.encodeAsHTML()}</g:link></li> 44 </g:each> 45 </ul> 46 <g:link controller="maintenanceActionDetailed" params="['taskProcedure.id':taskProcedureInstance?.id]" action="create">+Add MaintenanceAction</g:link> 51 52 <ul> 53 <g:each var="m" in="${taskProcedureInstance?.maintenanceActions?}"> 54 <li> 55 <g:link controller="maintenanceActionDetailed" 56 action="show" 57 id="${m.id}"> 58 ${m?.encodeAsHTML()} 59 </g:link> 60 </li> 61 </g:each> 62 </ul> 63 <g:link controller="maintenanceActionDetailed" 64 params="['taskProcedure.id':taskProcedureInstance?.id]" 65 action="create"> 66 +Add MaintenanceAction 67 </g:link> 47 68 48 69 </td> 49 </tr> 50 51 <tr class="prop"> 52 <td valign="top" class="name"> 53 <label for="tasks">Tasks:</label> 54 </td> 55 <td valign="top" class="value ${hasErrors(bean:taskProcedureInstance,field:'tasks','errors')}"> 56 57 <ul> 58 <g:each var="t" in="${taskProcedureInstance?.tasks?}"> 59 <li><g:link controller="taskDetailed" action="show" id="${t.id}">${t?.encodeAsHTML()}</g:link></li> 60 </g:each> 61 </ul> 62 <g:link controller="taskDetailed" params="['taskProcedure.id':taskProcedureInstance?.id]" action="create">+Add Task</g:link> 70 </tr> 63 71 64 </td>65 </tr>66 67 72 </tbody> 68 73 </table>
Note: See TracChangeset
for help on using the changeset viewer.