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