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