[116] | 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 Site</title> |
---|
[385] | 8 | <nav:resources override="true"/> |
---|
[116] | 9 | </head> |
---|
| 10 | <body> |
---|
| 11 | <div class="nav"> |
---|
[385] | 12 | <nav:renderSubItems group="navAlt"/> |
---|
[116] | 13 | </div> |
---|
| 14 | <div class="body"> |
---|
[357] | 15 | <g:render template="/shared/messages" /> |
---|
[116] | 16 | <div class="dialog"> |
---|
| 17 | <table> |
---|
| 18 | <tbody> |
---|
| 19 | |
---|
| 20 | |
---|
| 21 | <tr class="prop"> |
---|
| 22 | <td valign="top" class="name">Id:</td> |
---|
| 23 | |
---|
| 24 | <td valign="top" class="value">${fieldValue(bean:siteInstance, field:'id')}</td> |
---|
| 25 | |
---|
| 26 | </tr> |
---|
| 27 | |
---|
| 28 | <tr class="prop"> |
---|
| 29 | <td valign="top" class="name">Name:</td> |
---|
| 30 | |
---|
| 31 | <td valign="top" class="value">${fieldValue(bean:siteInstance, field:'name')}</td> |
---|
| 32 | |
---|
| 33 | </tr> |
---|
| 34 | |
---|
| 35 | <tr class="prop"> |
---|
| 36 | <td valign="top" class="name">Description:</td> |
---|
| 37 | |
---|
| 38 | <td valign="top" class="value">${fieldValue(bean:siteInstance, field:'description')}</td> |
---|
| 39 | |
---|
| 40 | </tr> |
---|
| 41 | |
---|
| 42 | <tr class="prop"> |
---|
[332] | 43 | <td valign="top" class="name">Comment:</td> |
---|
| 44 | |
---|
| 45 | <td valign="top" class="value">${fieldValue(bean:siteInstance, field:'comment')}</td> |
---|
| 46 | |
---|
| 47 | </tr> |
---|
| 48 | |
---|
| 49 | <tr class="prop"> |
---|
[268] | 50 | <td valign="top" class="name">Is Active:</td> |
---|
[163] | 51 | |
---|
[268] | 52 | <td valign="top" class="value">${fieldValue(bean:siteInstance, field:'isActive')}</td> |
---|
[163] | 53 | |
---|
| 54 | </tr> |
---|
| 55 | |
---|
| 56 | <tr class="prop"> |
---|
[273] | 57 | <td valign="top" class="name">Inventory Stores:</td> |
---|
| 58 | |
---|
| 59 | <td valign="top" style="text-align:left;" class="value"> |
---|
| 60 | <ul> |
---|
| 61 | <g:each var="i" in="${siteInstance.inventoryStores}"> |
---|
[289] | 62 | <li><g:link controller="inventoryStoreDetailed" action="show" id="${i.id}">${i?.encodeAsHTML()}</g:link></li> |
---|
[273] | 63 | </g:each> |
---|
| 64 | </ul> |
---|
| 65 | </td> |
---|
| 66 | |
---|
| 67 | </tr> |
---|
[402] | 68 | |
---|
| 69 | <tr class="prop"> |
---|
| 70 | <td valign="top" class="name">Contact:</td> |
---|
| 71 | |
---|
| 72 | <td valign="top" class="value"> |
---|
| 73 | <ul> |
---|
| 74 | <g:each var="i" in="${siteInstance.contacts}"> |
---|
| 75 | <li><g:link controller="contactDetailed" action="show" id="${i.id}">${i?.encodeAsHTML()}</g:link></li> |
---|
| 76 | </g:each> |
---|
| 77 | </ul> |
---|
| 78 | </td> |
---|
| 79 | |
---|
| 80 | </tr> |
---|
[273] | 81 | |
---|
| 82 | <tr class="prop"> |
---|
[397] | 83 | <td valign="top" class="name">Addresses:</td> |
---|
| 84 | |
---|
| 85 | <td valign="top" class="value"> |
---|
| 86 | <ul> |
---|
| 87 | <g:each var="i" in="${siteInstance.addresses}"> |
---|
| 88 | <li><g:link controller="addressDetailed" action="show" id="${i.id}">${i?.encodeAsHTML()}</g:link></li> |
---|
| 89 | </g:each> |
---|
| 90 | </ul> |
---|
| 91 | </td> |
---|
| 92 | |
---|
| 93 | </tr> |
---|
| 94 | |
---|
| 95 | <tr class="prop"> |
---|
[268] | 96 | <td valign="top" class="name">Sections:</td> |
---|
[116] | 97 | |
---|
| 98 | <td valign="top" style="text-align:left;" class="value"> |
---|
| 99 | <ul> |
---|
[268] | 100 | <g:each var="s" in="${siteInstance.sections}"> |
---|
[289] | 101 | <li><g:link controller="sectionDetailed" action="show" id="${s.id}">${s?.encodeAsHTML()}</g:link></li> |
---|
[116] | 102 | </g:each> |
---|
| 103 | </ul> |
---|
| 104 | </td> |
---|
| 105 | |
---|
| 106 | </tr> |
---|
| 107 | |
---|
| 108 | <tr class="prop"> |
---|
[268] | 109 | <td valign="top" class="name">Site Extended Attributes:</td> |
---|
[116] | 110 | |
---|
[122] | 111 | <td valign="top" style="text-align:left;" class="value"> |
---|
| 112 | <ul> |
---|
[268] | 113 | <g:each var="s" in="${siteInstance.siteExtendedAttributes}"> |
---|
[289] | 114 | <li><g:link controller="siteExtendedAttributeDetailed" action="show" id="${s.id}">${s?.encodeAsHTML()}</g:link></li> |
---|
[122] | 115 | </g:each> |
---|
| 116 | </ul> |
---|
| 117 | </td> |
---|
| 118 | |
---|
| 119 | </tr> |
---|
| 120 | |
---|
[116] | 121 | </tbody> |
---|
| 122 | </table> |
---|
| 123 | </div> |
---|
| 124 | <div class="buttons"> |
---|
| 125 | <g:form> |
---|
| 126 | <input type="hidden" name="id" value="${siteInstance?.id}" /> |
---|
| 127 | <span class="button"><g:actionSubmit class="edit" value="Edit" /></span> |
---|
| 128 | <span class="button"><g:actionSubmit class="delete" onclick="return confirm('Are you sure?');" value="Delete" /></span> |
---|
| 129 | </g:form> |
---|
| 130 | </div> |
---|
| 131 | </div> |
---|
| 132 | </body> |
---|
| 133 | </html> |
---|