1 | |
---|
2 | <div class="dialog"> |
---|
3 | <table> |
---|
4 | <tbody> |
---|
5 | |
---|
6 | <g:if test="${taskProcedureInstance.id}"> |
---|
7 | <tr class="prop"> |
---|
8 | <td valign="top" class="name">Procedure Id:</td> |
---|
9 | <td valign="top" class="value"> |
---|
10 | ${fieldValue(bean:taskProcedureInstance, field:'id')} |
---|
11 | </td> |
---|
12 | </tr> |
---|
13 | </g:if> |
---|
14 | |
---|
15 | <tr class="prop"> |
---|
16 | <td valign="top" class="name"> |
---|
17 | <label for="taskInstance">Linked Task:</label> |
---|
18 | </td> |
---|
19 | <td valign="top" name="taskInstance" class="value"> |
---|
20 | <g:link controller="taskDetailed" action="show" id="${taskProcedureInstance.linkedTask.id}"> |
---|
21 | ${taskProcedureInstance.linkedTask.encodeAsHTML()} |
---|
22 | </g:link> |
---|
23 | </td> |
---|
24 | </tr> |
---|
25 | |
---|
26 | <tr class="prop"> |
---|
27 | <td valign="top" class="name">Linked Asset:</td> |
---|
28 | <td valign="top" class="value"> |
---|
29 | <g:render template="/shared/assetTreeCompact" model="['assetInstance': taskProcedureInstance.linkedTask.primaryAsset]" /> |
---|
30 | </td> |
---|
31 | </tr> |
---|
32 | |
---|
33 | <g:if test="${taskProcedureInstance.version}"> |
---|
34 | <tr class="prop"> |
---|
35 | <td valign="top" class="name">Version:</td> |
---|
36 | <td valign="top" class="value"> |
---|
37 | ${fieldValue(bean:taskProcedureInstance, field:'version')} |
---|
38 | </td> |
---|
39 | </tr> |
---|
40 | |
---|
41 | <tr class="prop"> |
---|
42 | <td valign="top" class="name">Created By:</td> |
---|
43 | <td valign="top" class="value"> |
---|
44 | ${fieldValue(bean:taskProcedureInstance, field:'createdBy')} |
---|
45 | on |
---|
46 | <g:formatDate date="${taskProcedureInstance.dateCreated}" format="EEE, dd-MMM-yyyy @ HH:mm"/> |
---|
47 | </td> |
---|
48 | </tr> |
---|
49 | |
---|
50 | <tr class="prop"> |
---|
51 | <td valign="top" class="name">Last Updated By:</td> |
---|
52 | <td valign="top" class="value"> |
---|
53 | ${fieldValue(bean:taskProcedureInstance, field:'lastUpdatedBy')} |
---|
54 | on |
---|
55 | <g:formatDate date="${taskProcedureInstance.lastUpdated}" format="EEE, dd-MMM-yyyy @ HH:mm"/> |
---|
56 | </td> |
---|
57 | </tr> |
---|
58 | </g:if> |
---|
59 | |
---|
60 | </tbody> |
---|
61 | </table> |
---|
62 | |
---|
63 | <br /> |
---|
64 | <g:render template="maintenanceActions" model="['taskProcedureInstance': taskProcedureInstance, |
---|
65 | 'assemblies': assemblies]" /> |
---|
66 | <br /> |
---|
67 | </div> |
---|