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