| 1 | |
|---|
| 2 | |
|---|
| 3 | <html> |
|---|
| 4 | <head> |
|---|
| 5 | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> |
|---|
| 6 | <meta name="layout" content="main" /> |
|---|
| 7 | <title>Show TaskProcedure</title> |
|---|
| 8 | <nav:resources override="true"/> |
|---|
| 9 | </head> |
|---|
| 10 | <body> |
|---|
| 11 | <div class="nav"> |
|---|
| 12 | <nav:renderSubItems group="navAlt"/> |
|---|
| 13 | </div> |
|---|
| 14 | <div class="body"> |
|---|
| 15 | <g:if test="${flash.message}"> |
|---|
| 16 | <div class="message">${flash.message}</div> |
|---|
| 17 | </g:if> |
|---|
| 18 | <div class="dialog"> |
|---|
| 19 | <table> |
|---|
| 20 | <tbody> |
|---|
| 21 | |
|---|
| 22 | |
|---|
| 23 | <tr class="prop"> |
|---|
| 24 | <td valign="top" class="name">Id:</td> |
|---|
| 25 | |
|---|
| 26 | <td valign="top" class="value">${fieldValue(bean:taskProcedureInstance, field:'id')}</td> |
|---|
| 27 | |
|---|
| 28 | </tr> |
|---|
| 29 | |
|---|
| 30 | <tr class="prop"> |
|---|
| 31 | <td valign="top" class="name">Name:</td> |
|---|
| 32 | |
|---|
| 33 | <td valign="top" class="value">${fieldValue(bean:taskProcedureInstance, field:'name')}</td> |
|---|
| 34 | |
|---|
| 35 | </tr> |
|---|
| 36 | |
|---|
| 37 | <tr class="prop"> |
|---|
| 38 | <td valign="top" class="name">Description:</td> |
|---|
| 39 | |
|---|
| 40 | <td valign="top" class="value">${fieldValue(bean:taskProcedureInstance, field:'description')}</td> |
|---|
| 41 | |
|---|
| 42 | </tr> |
|---|
| 43 | |
|---|
| 44 | <tr class="prop"> |
|---|
| 45 | <td valign="top" class="name">Is Active:</td> |
|---|
| 46 | |
|---|
| 47 | <td valign="top" class="value">${fieldValue(bean:taskProcedureInstance, field:'isActive')}</td> |
|---|
| 48 | |
|---|
| 49 | </tr> |
|---|
| 50 | |
|---|
| 51 | <tr class="prop"> |
|---|
| 52 | <td valign="top" class="name">Maintenance Actions:</td> |
|---|
| 53 | |
|---|
| 54 | <td valign="top" style="text-align:left;" class="value"> |
|---|
| 55 | <ul> |
|---|
| 56 | <g:each var="m" in="${taskProcedureInstance.maintenanceActions}"> |
|---|
| 57 | <li><g:link controller="maintenanceActionDetailed" action="show" id="${m.id}">${m?.encodeAsHTML()}</g:link></li> |
|---|
| 58 | </g:each> |
|---|
| 59 | </ul> |
|---|
| 60 | </td> |
|---|
| 61 | |
|---|
| 62 | </tr> |
|---|
| 63 | |
|---|
| 64 | <tr class="prop"> |
|---|
| 65 | <td valign="top" class="name">Tasks:</td> |
|---|
| 66 | |
|---|
| 67 | <td valign="top" style="text-align:left;" class="value"> |
|---|
| 68 | <ul> |
|---|
| 69 | <g:each var="t" in="${taskProcedureInstance.tasks}"> |
|---|
| 70 | <li><g:link controller="taskDetailed" action="show" id="${t.id}">${t?.encodeAsHTML()}</g:link></li> |
|---|
| 71 | </g:each> |
|---|
| 72 | </ul> |
|---|
| 73 | </td> |
|---|
| 74 | |
|---|
| 75 | </tr> |
|---|
| 76 | |
|---|
| 77 | </tbody> |
|---|
| 78 | </table> |
|---|
| 79 | </div> |
|---|
| 80 | <div class="buttons"> |
|---|
| 81 | <g:form> |
|---|
| 82 | <input type="hidden" name="id" value="${taskProcedureInstance?.id}" /> |
|---|
| 83 | <span class="button"><g:actionSubmit class="edit" value="Edit" /></span> |
|---|
| 84 | <span class="button"><g:actionSubmit class="delete" onclick="return confirm('Are you sure?');" value="Delete" /></span> |
|---|
| 85 | </g:form> |
|---|
| 86 | </div> |
|---|
| 87 | </div> |
|---|
| 88 | </body> |
|---|
| 89 | </html> |
|---|