[809] | 1 | |
---|
| 2 | <div class="dialog"> |
---|
| 3 | <table> |
---|
| 4 | <tbody> |
---|
| 5 | |
---|
| 6 | <tr class="prop"> |
---|
| 7 | <td valign="top" class="name">Procedure Id:</td> |
---|
| 8 | <td valign="top" class="value"> |
---|
| 9 | ${fieldValue(bean:taskProcedureRevision, field:'taskProcedureId')} |
---|
| 10 | </td> |
---|
| 11 | </tr> |
---|
| 12 | |
---|
| 13 | <tr class="prop"> |
---|
| 14 | <td valign="top" class="name">Linked Task:</td> |
---|
| 15 | <td valign="top" class="value"> |
---|
| 16 | <g:link controller="taskDetailed" |
---|
| 17 | action="show" |
---|
| 18 | id="${taskProcedureRevision.linkedTask.id}"> |
---|
| 19 | ${taskProcedureRevision.linkedTask.encodeAsHTML()} |
---|
| 20 | </g:link> |
---|
| 21 | </td> |
---|
| 22 | </tr> |
---|
| 23 | |
---|
| 24 | <tr class="prop"> |
---|
| 25 | <td valign="top" class="name">Linked Asset:</td> |
---|
| 26 | <td valign="top" class="value"> |
---|
| 27 | <g:render template="/shared/assetTreeCompact" model="['assetInstance': taskProcedureRevision.linkedTask.primaryAsset]" /> |
---|
| 28 | </td> |
---|
| 29 | </tr> |
---|
| 30 | |
---|
| 31 | <tr class="prop"> |
---|
| 32 | <td valign="top" class="name">Revision:</td> |
---|
| 33 | <td valign="top" class="value"> |
---|
| 34 | ${fieldValue(bean:taskProcedureRevision, field:'revisionDateString')} |
---|
| 35 | </td> |
---|
| 36 | </tr> |
---|
| 37 | |
---|
| 38 | </tbody> |
---|
| 39 | </table> |
---|
| 40 | </div> |
---|
| 41 | <div class="buttons"> |
---|
| 42 | <g:form controller="taskProcedureDetailed"> |
---|
| 43 | <input type="hidden" name="id" value="${taskProcedureRevision.taskProcedureId}" /> |
---|
| 44 | Latest Revision: ${taskProcedureRevision?.taskProcedure.revision} |
---|
| 45 | <span class="button"> |
---|
| 46 | <g:actionSubmit class="edit" value="Edit" /> |
---|
| 47 | </span> |
---|
| 48 | <span class="button"> |
---|
| 49 | <g:actionSubmit class="go" value="Show" /> |
---|
| 50 | </span> |
---|
| 51 | </g:form> |
---|
| 52 | </div> |
---|
| 53 | |
---|
| 54 | <br /> |
---|
| 55 | |
---|
| 56 | <g:if test="${taskProcedureRevision.documentReferences}"> |
---|
| 57 | <div class="list"> |
---|
| 58 | <table> |
---|
| 59 | <thead> |
---|
| 60 | <tr> |
---|
| 61 | <th>Document Reference</th> |
---|
| 62 | <th>Location</th> |
---|
| 63 | </tr> |
---|
| 64 | </thead> |
---|
| 65 | <tbody> |
---|
| 66 | <g:each in="${taskProcedureRevision.documentReferences}" status="i" var="docRef"> |
---|
| 67 | <tr class="${(i % 2) == 0 ? 'odd' : 'even'}"> |
---|
| 68 | |
---|
| 69 | <td valign="top" class="name"> |
---|
| 70 | ${fieldValue(bean:docRef, field:'name')} |
---|
| 71 | </td> |
---|
| 72 | |
---|
| 73 | <td valign="top" style="text-align:left;" class="value"> |
---|
| 74 | <custom:easyUrl url="${docRef.location}" /> |
---|
| 75 | </td> |
---|
| 76 | |
---|
| 77 | </tr> |
---|
| 78 | </g:each> |
---|
| 79 | |
---|
| 80 | </tbody> |
---|
| 81 | </table> |
---|
| 82 | </div> |
---|
| 83 | </g:if> |
---|
| 84 | |
---|
| 85 | <br /> |
---|
| 86 | |
---|
| 87 | <g:if test="${taskProcedureRevision.maintenanceActions}"> |
---|
| 88 | <div class="list"> |
---|
| 89 | <table> |
---|
| 90 | <thead> |
---|
| 91 | <tr> |
---|
| 92 | <th>Step</th> |
---|
| 93 | <th>Assembly</th> |
---|
| 94 | <th>Description</th> |
---|
| 95 | <th>Page Ref</th> |
---|
| 96 | <th>Condition</th> |
---|
| 97 | </tr> |
---|
| 98 | </thead> |
---|
| 99 | <tbody> |
---|
| 100 | <g:each in="${taskProcedureRevision.maintenanceActions}" status="i" var="maintenanceAction"> |
---|
| 101 | <tr class="${(i % 2) == 0 ? 'odd' : 'even'}"> |
---|
| 102 | |
---|
| 103 | <td valign="top" class="name"> |
---|
| 104 | ${fieldValue(bean:maintenanceAction, field:'procedureStepNumber')} |
---|
| 105 | </td> |
---|
| 106 | |
---|
| 107 | <td valign="top" style="text-align:left;" class="value"> |
---|
| 108 | <g:if test="${maintenanceAction.assetSubItem}"> |
---|
| 109 | ${maintenanceAction.assetSubItem.parentItem?.encodeAsHTML()} |
---|
| 110 | -- |
---|
| 111 | ${maintenanceAction.assetSubItem.encodeAsHTML()} |
---|
| 112 | </g:if> |
---|
| 113 | </td> |
---|
| 114 | |
---|
| 115 | <td valign="top" style="text-align:left;" class="value"> |
---|
| 116 | ${fieldValue(bean:maintenanceAction, field:'description')} |
---|
| 117 | </td> |
---|
| 118 | |
---|
| 119 | <td valign="top" style="text-align:left;" class="value"> |
---|
| 120 | ${maintenanceAction.pageRef.encodeAsHTML() ?: '-'} |
---|
| 121 | </td> |
---|
| 122 | |
---|
[820] | 123 | <td valign="top" style="text-align:left; white-space:nowrap;" class="value"> |
---|
[809] | 124 | ${'A | B | C | D'} |
---|
| 125 | </td> |
---|
| 126 | |
---|
| 127 | </tr> |
---|
| 128 | </g:each> |
---|
| 129 | |
---|
| 130 | </tbody> |
---|
| 131 | </table> |
---|
| 132 | </div> |
---|
| 133 | </g:if> |
---|