[274] | 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 AssetSubItem</title> |
---|
| 8 | </head> |
---|
| 9 | <body> |
---|
| 10 | <div class="nav"> |
---|
| 11 | <h1>Show Sub Item</h1> |
---|
| 12 | </div> |
---|
| 13 | <div class="body"> |
---|
[285] | 14 | <g:render template="/shared/messages" /> |
---|
[274] | 15 | <div class="dialog"> |
---|
| 16 | <table> |
---|
| 17 | <tbody> |
---|
| 18 | |
---|
| 19 | |
---|
| 20 | <tr class="prop"> |
---|
| 21 | <td valign="top" class="name">Id:</td> |
---|
| 22 | |
---|
| 23 | <td valign="top" class="value">${fieldValue(bean:assetSubItemInstance, field:'id')}</td> |
---|
| 24 | |
---|
| 25 | </tr> |
---|
| 26 | |
---|
| 27 | <tr class="prop"> |
---|
| 28 | <td valign="top" class="name">Name:</td> |
---|
| 29 | |
---|
| 30 | <td valign="top" class="value">${fieldValue(bean:assetSubItemInstance, field:'name')}</td> |
---|
| 31 | |
---|
| 32 | </tr> |
---|
| 33 | |
---|
| 34 | <tr class="prop"> |
---|
| 35 | <td valign="top" class="name">Description:</td> |
---|
| 36 | |
---|
| 37 | <td valign="top" class="value">${fieldValue(bean:assetSubItemInstance, field:'description')}</td> |
---|
| 38 | |
---|
| 39 | </tr> |
---|
| 40 | |
---|
| 41 | <tr class="prop"> |
---|
| 42 | <td valign="top" class="name">Is Active:</td> |
---|
| 43 | |
---|
| 44 | <td valign="top" class="value">${fieldValue(bean:assetSubItemInstance, field:'isActive')}</td> |
---|
| 45 | |
---|
| 46 | </tr> |
---|
| 47 | |
---|
| 48 | <tr class="prop"> |
---|
| 49 | <td valign="top" class="name">Asset Sub Item Extended Attributes:</td> |
---|
| 50 | |
---|
| 51 | <td valign="top" style="text-align:left;" class="value"> |
---|
| 52 | <ul> |
---|
| 53 | <g:each var="a" in="${assetSubItemInstance.assetSubItemExtendedAttributes}"> |
---|
| 54 | <li><g:link controller="assetSubItemExtendedAttributeDetailed" action="show" id="${a.id}">${a?.encodeAsHTML()}</g:link></li> |
---|
| 55 | </g:each> |
---|
| 56 | </ul> |
---|
| 57 | </td> |
---|
| 58 | |
---|
| 59 | </tr> |
---|
[285] | 60 | |
---|
[276] | 61 | <tr class="prop"> |
---|
[285] | 62 | <td valign="top" class="name">Maintenance Actions:</td> |
---|
| 63 | |
---|
[276] | 64 | <td valign="top" style="text-align:left;" class="value"> |
---|
| 65 | <ul> |
---|
[285] | 66 | <g:each var="m" in="${assetSubItemInstance.maintenanceActions}"> |
---|
| 67 | <li><g:link controller="maintenanceActionDetailed" action="show" id="${m.id}">${m?.encodeAsHTML()}</g:link></li> |
---|
[276] | 68 | </g:each> |
---|
| 69 | </ul> |
---|
| 70 | </td> |
---|
[285] | 71 | |
---|
[276] | 72 | </tr> |
---|
[274] | 73 | |
---|
| 74 | <tr class="prop"> |
---|
[285] | 75 | <td valign="top" class="name">Parent Item:</td> |
---|
[274] | 76 | |
---|
[285] | 77 | <td valign="top" class="value"><g:link controller="assetSubItemDetailed" action="show" id="${assetSubItemInstance?.parentItem?.id}">${assetSubItemInstance?.parentItem?.encodeAsHTML()}</g:link></td> |
---|
| 78 | |
---|
| 79 | </tr> |
---|
| 80 | |
---|
| 81 | <tr class="prop"> |
---|
| 82 | <td valign="top" class="name">Assets:</td> |
---|
| 83 | |
---|
[274] | 84 | <td valign="top" style="text-align:left;" class="value"> |
---|
| 85 | <ul> |
---|
[285] | 86 | <g:each var="a" in="${assetSubItemInstance.assets}"> |
---|
| 87 | <li><g:link controller="assetDetailed" action="show" id="${a.id}">${a?.encodeAsHTML()}</g:link></li> |
---|
[274] | 88 | </g:each> |
---|
| 89 | </ul> |
---|
| 90 | </td> |
---|
[285] | 91 | |
---|
[274] | 92 | </tr> |
---|
| 93 | |
---|
| 94 | <tr class="prop"> |
---|
| 95 | <td valign="top" class="name">Sub Items:</td> |
---|
| 96 | |
---|
| 97 | <td valign="top" style="text-align:left;" class="value"> |
---|
| 98 | <ul> |
---|
| 99 | <g:each var="s" in="${assetSubItemInstance.subItems}"> |
---|
| 100 | <li><g:link controller="assetSubItemDetailed" action="show" id="${s.id}">${s?.encodeAsHTML()}</g:link></li> |
---|
| 101 | </g:each> |
---|
| 102 | </ul> |
---|
| 103 | </td> |
---|
| 104 | |
---|
| 105 | </tr> |
---|
| 106 | |
---|
| 107 | </tbody> |
---|
| 108 | </table> |
---|
| 109 | </div> |
---|
| 110 | <div class="buttons"> |
---|
| 111 | <g:form> |
---|
| 112 | <input type="hidden" name="id" value="${assetSubItemInstance?.id}" /> |
---|
| 113 | <span class="button"><g:actionSubmit class="edit" value="Edit" /></span> |
---|
| 114 | <span class="button"><g:actionSubmit class="delete" onclick="return confirm('Are you sure?');" value="Delete" /></span> |
---|
| 115 | </g:form> |
---|
| 116 | </div> |
---|
| 117 | </div> |
---|
| 118 | </body> |
---|
| 119 | </html> |
---|