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