[118] | 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 SubAssembly</title> |
---|
| 8 | </head> |
---|
| 9 | <body> |
---|
| 10 | <div class="nav"> |
---|
| 11 | <span class="menuButton"><a class="home" href="${createLinkTo(dir:'')}">Home</a></span> |
---|
| 12 | <span class="menuButton"><g:link class="list" action="list">SubAssembly List</g:link></span> |
---|
| 13 | <span class="menuButton"><g:link class="create" action="create">New SubAssembly</g:link></span> |
---|
| 14 | </div> |
---|
| 15 | <div class="body"> |
---|
| 16 | <h1>Show SubAssembly</h1> |
---|
| 17 | <g:if test="${flash.message}"> |
---|
| 18 | <div class="message">${flash.message}</div> |
---|
| 19 | </g:if> |
---|
| 20 | <div class="dialog"> |
---|
| 21 | <table> |
---|
| 22 | <tbody> |
---|
| 23 | |
---|
| 24 | |
---|
| 25 | <tr class="prop"> |
---|
| 26 | <td valign="top" class="name">Id:</td> |
---|
| 27 | |
---|
| 28 | <td valign="top" class="value">${fieldValue(bean:subAssemblyInstance, field:'id')}</td> |
---|
| 29 | |
---|
| 30 | </tr> |
---|
| 31 | |
---|
| 32 | <tr class="prop"> |
---|
| 33 | <td valign="top" class="name">Assemblies:</td> |
---|
| 34 | |
---|
| 35 | <td valign="top" style="text-align:left;" class="value"> |
---|
| 36 | <ul> |
---|
| 37 | <g:each var="a" in="${subAssemblyInstance.assemblies}"> |
---|
| 38 | <li><g:link controller="assembly" action="show" id="${a.id}">${a?.encodeAsHTML()}</g:link></li> |
---|
| 39 | </g:each> |
---|
| 40 | </ul> |
---|
| 41 | </td> |
---|
| 42 | |
---|
| 43 | </tr> |
---|
| 44 | |
---|
| 45 | <tr class="prop"> |
---|
| 46 | <td valign="top" class="name">Component Items:</td> |
---|
| 47 | |
---|
| 48 | <td valign="top" style="text-align:left;" class="value"> |
---|
| 49 | <ul> |
---|
| 50 | <g:each var="c" in="${subAssemblyInstance.componentItems}"> |
---|
| 51 | <li><g:link controller="componentItem" action="show" id="${c.id}">${c?.encodeAsHTML()}</g:link></li> |
---|
| 52 | </g:each> |
---|
| 53 | </ul> |
---|
| 54 | </td> |
---|
| 55 | |
---|
| 56 | </tr> |
---|
| 57 | |
---|
| 58 | <tr class="prop"> |
---|
| 59 | <td valign="top" class="name">Description:</td> |
---|
| 60 | |
---|
| 61 | <td valign="top" class="value">${fieldValue(bean:subAssemblyInstance, field:'description')}</td> |
---|
| 62 | |
---|
| 63 | </tr> |
---|
| 64 | |
---|
| 65 | <tr class="prop"> |
---|
| 66 | <td valign="top" class="name">Is Active:</td> |
---|
| 67 | |
---|
| 68 | <td valign="top" class="value">${fieldValue(bean:subAssemblyInstance, field:'isActive')}</td> |
---|
| 69 | |
---|
| 70 | </tr> |
---|
| 71 | |
---|
| 72 | <tr class="prop"> |
---|
[122] | 73 | <td valign="top" class="name">Maintenance Actions:</td> |
---|
[118] | 74 | |
---|
[122] | 75 | <td valign="top" style="text-align:left;" class="value"> |
---|
| 76 | <ul> |
---|
| 77 | <g:each var="m" in="${subAssemblyInstance.maintenanceActions}"> |
---|
| 78 | <li><g:link controller="maintenanceAction" action="show" id="${m.id}">${m?.encodeAsHTML()}</g:link></li> |
---|
| 79 | </g:each> |
---|
| 80 | </ul> |
---|
| 81 | </td> |
---|
[118] | 82 | |
---|
| 83 | </tr> |
---|
| 84 | |
---|
| 85 | <tr class="prop"> |
---|
| 86 | <td valign="top" class="name">Name:</td> |
---|
| 87 | |
---|
| 88 | <td valign="top" class="value">${fieldValue(bean:subAssemblyInstance, field:'name')}</td> |
---|
| 89 | |
---|
| 90 | </tr> |
---|
| 91 | |
---|
| 92 | </tbody> |
---|
| 93 | </table> |
---|
| 94 | </div> |
---|
| 95 | <div class="buttons"> |
---|
| 96 | <g:form> |
---|
| 97 | <input type="hidden" name="id" value="${subAssemblyInstance?.id}" /> |
---|
| 98 | <span class="button"><g:actionSubmit class="edit" value="Edit" /></span> |
---|
| 99 | <span class="button"><g:actionSubmit class="delete" onclick="return confirm('Are you sure?');" value="Delete" /></span> |
---|
| 100 | </g:form> |
---|
| 101 | </div> |
---|
| 102 | </div> |
---|
| 103 | </body> |
---|
| 104 | </html> |
---|