Last change
on this file since 911 was
809,
checked in by gav, 14 years ago
|
Domain change, first draft of TaskProcedureRevisions.
|
File size:
2.3 KB
|
Rev | Line | |
---|
[770] | 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"> |
---|
[780] | 29 | <g:render template="/shared/assetTreeCompact" model="['assetInstance': taskProcedureInstance.linkedTask.primaryAsset]" /> |
---|
[770] | 30 | </td> |
---|
| 31 | </tr> |
---|
| 32 | |
---|
[809] | 33 | <g:if test="${taskProcedureInstance.id}"> |
---|
[772] | 34 | <tr class="prop"> |
---|
[809] | 35 | <td valign="top" class="name">Revisions:</td> |
---|
[772] | 36 | <td valign="top" class="value"> |
---|
[809] | 37 | <ul> |
---|
| 38 | <g:each var="r" in="${taskProcedureInstance.revisions}"> |
---|
| 39 | <li> |
---|
| 40 | <g:link action="show" id="${taskProcedureInstance.id}" params="['revision':r.revision]"> |
---|
| 41 | ${r.fullRevisionString.encodeAsHTML()} |
---|
| 42 | </g:link> |
---|
| 43 | </li> |
---|
| 44 | </g:each> |
---|
| 45 | </ul> |
---|
[772] | 46 | </td> |
---|
| 47 | </tr> |
---|
| 48 | </g:if> |
---|
| 49 | |
---|
[770] | 50 | </tbody> |
---|
| 51 | </table> |
---|
| 52 | |
---|
| 53 | <br /> |
---|
[793] | 54 | <g:render template="documentReferences" model="['taskProcedureInstance': taskProcedureInstance]" /> |
---|
| 55 | |
---|
| 56 | <br /> |
---|
[776] | 57 | <g:render template="maintenanceActions" model="['taskProcedureInstance': taskProcedureInstance, |
---|
| 58 | 'assemblies': assemblies]" /> |
---|
[770] | 59 | <br /> |
---|
| 60 | </div> |
---|
Note: See
TracBrowser
for help on using the repository browser.