Last change
on this file since 759 was
758,
checked in by gav, 14 years ago
|
Domain change, adjust TaskProcedure to Task relationship.
|
File size:
2.6 KB
|
Rev | Line | |
---|
[133] | 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> |
---|
[147] | 8 | <nav:resources override="true"/> |
---|
[133] | 9 | </head> |
---|
| 10 | <body> |
---|
| 11 | <div class="nav"> |
---|
[147] | 12 | <nav:renderSubItems group="navAlt"/> |
---|
[133] | 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 | <tr class="prop"> |
---|
| 23 | <td valign="top" class="name">Id:</td> |
---|
| 24 | <td valign="top" class="value">${fieldValue(bean:taskProcedureInstance, field:'id')}</td> |
---|
| 25 | </tr> |
---|
[758] | 26 | |
---|
[133] | 27 | <tr class="prop"> |
---|
[758] | 28 | <td valign="top" class="name"> |
---|
| 29 | <label for="taskInstance">Parent Task:</label> |
---|
| 30 | </td> |
---|
| 31 | <td valign="top" name="taskInstance" class="value"> |
---|
| 32 | <g:link controller="taskDetailed" action="show" id="${taskProcedureInstance.parentTask.id}"> |
---|
| 33 | ${taskProcedureInstance.parentTask.encodeAsHTML()} |
---|
| 34 | </g:link> |
---|
| 35 | </td> |
---|
| 36 | </tr> |
---|
| 37 | |
---|
| 38 | <tr class="prop"> |
---|
[133] | 39 | <td valign="top" class="name">Maintenance Actions:</td> |
---|
[758] | 40 | |
---|
[133] | 41 | <td valign="top" style="text-align:left;" class="value"> |
---|
| 42 | <ul> |
---|
| 43 | <g:each var="m" in="${taskProcedureInstance.maintenanceActions}"> |
---|
| 44 | <li><g:link controller="maintenanceActionDetailed" action="show" id="${m.id}">${m?.encodeAsHTML()}</g:link></li> |
---|
| 45 | </g:each> |
---|
| 46 | </ul> |
---|
| 47 | </td> |
---|
[758] | 48 | |
---|
[133] | 49 | </tr> |
---|
[758] | 50 | |
---|
[133] | 51 | </tbody> |
---|
| 52 | </table> |
---|
| 53 | </div> |
---|
| 54 | <div class="buttons"> |
---|
| 55 | <g:form> |
---|
| 56 | <input type="hidden" name="id" value="${taskProcedureInstance?.id}" /> |
---|
| 57 | <span class="button"><g:actionSubmit class="edit" value="Edit" /></span> |
---|
| 58 | <span class="button"><g:actionSubmit class="delete" onclick="return confirm('Are you sure?');" value="Delete" /></span> |
---|
| 59 | </g:form> |
---|
| 60 | </div> |
---|
| 61 | </div> |
---|
| 62 | </body> |
---|
| 63 | </html> |
---|
Note: See
TracBrowser
for help on using the repository browser.