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