[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 Asset</title> |
---|
[139] | 8 | <nav:resources override="true"/> |
---|
[118] | 9 | </head> |
---|
| 10 | <body> |
---|
| 11 | <div class="nav"> |
---|
[139] | 12 | <nav:renderSubItems group="nav"/> |
---|
[118] | 13 | </div> |
---|
| 14 | <div class="body"> |
---|
[349] | 15 | <g:render template="/shared/messages" /> |
---|
[118] | 16 | <div class="dialog"> |
---|
| 17 | <table> |
---|
| 18 | <tbody> |
---|
[278] | 19 | |
---|
[118] | 20 | <tr class="prop"> |
---|
| 21 | <td valign="top" class="name">Id:</td> |
---|
[278] | 22 | |
---|
[118] | 23 | <td valign="top" class="value">${fieldValue(bean:assetInstance, field:'id')}</td> |
---|
[278] | 24 | |
---|
[118] | 25 | </tr> |
---|
[278] | 26 | |
---|
[118] | 27 | <tr class="prop"> |
---|
[271] | 28 | <td valign="top" class="name">Asset:</td> |
---|
| 29 | |
---|
| 30 | <td valign="top" style="text-align:left;" class="value"> |
---|
[278] | 31 | <g:render template="/shared/assetTree" /> |
---|
[271] | 32 | </td> |
---|
| 33 | |
---|
[118] | 34 | </tr> |
---|
[278] | 35 | |
---|
| 36 | <tr class="prop"> |
---|
| 37 | <td valign="top" class="name">Description:</td> |
---|
| 38 | |
---|
| 39 | <td valign="top" class="value">${fieldValue(bean:assetInstance, field:'description')}</td> |
---|
| 40 | |
---|
| 41 | </tr> |
---|
[329] | 42 | |
---|
| 43 | <tr class="prop"> |
---|
| 44 | <td valign="top" class="name">Comment:</td> |
---|
| 45 | |
---|
| 46 | <td valign="top" class="value">${fieldValue(bean:assetInstance, field:'comment')}</td> |
---|
| 47 | |
---|
| 48 | </tr> |
---|
[278] | 49 | |
---|
| 50 | <tr class="prop"> |
---|
| 51 | <td valign="top" class="name">Is Active:</td> |
---|
| 52 | |
---|
| 53 | <td valign="top" class="value">${fieldValue(bean:assetInstance, field:'isActive')}</td> |
---|
| 54 | |
---|
| 55 | </tr> |
---|
| 56 | |
---|
| 57 | <tr class="prop"> |
---|
| 58 | <td valign="top" class="name">Section:</td> |
---|
| 59 | |
---|
| 60 | <td valign="top" class="value"><g:link controller="sectionDetailed" action="show" id="${assetInstance?.section?.id}">${assetInstance?.section?.encodeAsHTML()}</g:link></td> |
---|
| 61 | |
---|
| 62 | </tr> |
---|
| 63 | |
---|
| 64 | <tr class="prop"> |
---|
| 65 | <td valign="top" class="name">Asset Extended Attributes:</td> |
---|
| 66 | |
---|
| 67 | <td valign="top" style="text-align:left;" class="value"> |
---|
| 68 | <ul> |
---|
| 69 | <g:each var="a" in="${assetInstance.assetExtendedAttributes}"> |
---|
| 70 | <li><g:link controller="assetExtendedAttributeDetailed" action="edit" id="${a.id}">${a?.encodeAsHTML()}</g:link></li> |
---|
| 71 | </g:each> |
---|
| 72 | </ul> |
---|
| 73 | </td> |
---|
| 74 | |
---|
| 75 | </tr> |
---|
| 76 | |
---|
| 77 | <tr class="prop"> |
---|
| 78 | <td valign="top" class="name">Maintenance Actions:</td> |
---|
| 79 | |
---|
| 80 | <td valign="top" style="text-align:left;" class="value"> |
---|
| 81 | <ul> |
---|
| 82 | <g:each var="m" in="${assetInstance.maintenanceActions}"> |
---|
[370] | 83 | <li><g:link controller="maintenanceActionDetailed" action="show" id="${m.id}">${m?.encodeAsHTML()}</g:link></li> |
---|
[278] | 84 | </g:each> |
---|
| 85 | </ul> |
---|
| 86 | </td> |
---|
| 87 | |
---|
| 88 | </tr> |
---|
| 89 | |
---|
[118] | 90 | </tbody> |
---|
| 91 | </table> |
---|
| 92 | </div> |
---|
| 93 | <div class="buttons"> |
---|
| 94 | <g:form> |
---|
| 95 | <input type="hidden" name="id" value="${assetInstance?.id}" /> |
---|
| 96 | <span class="button"><g:actionSubmit class="edit" value="Edit" /></span> |
---|
| 97 | <span class="button"><g:actionSubmit class="delete" onclick="return confirm('Are you sure?');" value="Delete" /></span> |
---|
| 98 | </g:form> |
---|
| 99 | </div> |
---|
| 100 | </div> |
---|
| 101 | </body> |
---|
| 102 | </html> |
---|