[402] | 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 Contact</title> |
---|
| 8 | </head> |
---|
| 9 | <body> |
---|
| 10 | <div class="nav"> |
---|
| 11 | <h1>Show Contact</h1> |
---|
| 12 | </div> |
---|
| 13 | <div class="body"> |
---|
| 14 | <g:render template="/shared/messages" /> |
---|
| 15 | <div class="dialog"> |
---|
| 16 | <table> |
---|
| 17 | <tbody> |
---|
| 18 | |
---|
| 19 | <tr class="prop"> |
---|
| 20 | <td valign="top" class="name">Id:</td> |
---|
| 21 | <td valign="top" class="value">${fieldValue(bean:contactInstance, field:'id')}</td> |
---|
| 22 | </tr> |
---|
| 23 | |
---|
| 24 | <g:if test="${contactInstance.manufacturer}"> |
---|
| 25 | <tr class="prop"> |
---|
| 26 | <td valign="top" class="name">Manufacturer:</td> |
---|
| 27 | |
---|
| 28 | <td valign="top" class="value"><g:link controller="manufacturerDetailed" action="show" id="${contactInstance.manufacturer.id}">${contactInstance.manufacturer.encodeAsHTML()}</g:link></td> |
---|
| 29 | |
---|
| 30 | </tr> |
---|
| 31 | </g:if> |
---|
| 32 | |
---|
| 33 | <g:if test="${contactInstance.supplier}"> |
---|
| 34 | <tr class="prop"> |
---|
| 35 | <td valign="top" class="name">Supplier:</td> |
---|
| 36 | |
---|
| 37 | <td valign="top" class="value"><g:link controller="supplierDetailed" action="show" id="${contactInstance.supplier.id}">${contactInstance.supplier.encodeAsHTML()}</g:link></td> |
---|
| 38 | |
---|
| 39 | </tr> |
---|
| 40 | </g:if> |
---|
| 41 | |
---|
| 42 | <g:if test="${contactInstance.person}"> |
---|
| 43 | <tr class="prop"> |
---|
| 44 | <td valign="top" class="name">Person:</td> |
---|
| 45 | |
---|
| 46 | <td valign="top" class="value"><g:link controller="person" action="show" id="${contactInstance.person.id}">${contactInstance.person.encodeAsHTML()}</g:link></td> |
---|
| 47 | |
---|
| 48 | </tr> |
---|
| 49 | </g:if> |
---|
| 50 | |
---|
| 51 | <g:if test="${contactInstance.site}"> |
---|
| 52 | <tr class="prop"> |
---|
| 53 | <td valign="top" class="name">Site:</td> |
---|
| 54 | |
---|
| 55 | <td valign="top" class="value"><g:link controller="siteDetailed" action="show" id="${contactInstance.site.id}">${contactInstance.site.encodeAsHTML()}</g:link></td> |
---|
| 56 | |
---|
| 57 | </tr> |
---|
| 58 | </g:if> |
---|
| 59 | |
---|
| 60 | <tr class="prop"> |
---|
| 61 | <td valign="top" class="name">Contact Type:</td> |
---|
| 62 | <td valign="top" class="value">${fieldValue(bean:contactInstance, field:'contactType')}</td> |
---|
| 63 | </tr> |
---|
| 64 | |
---|
| 65 | <tr class="prop"> |
---|
| 66 | <td valign="top" class="name">Value:</td> |
---|
| 67 | <td valign="top" class="value">${fieldValue(bean:contactInstance, field:'value')}</td> |
---|
| 68 | </tr> |
---|
| 69 | |
---|
| 70 | </tbody> |
---|
| 71 | </table> |
---|
| 72 | </div> |
---|
| 73 | <div class="buttons"> |
---|
| 74 | <g:form> |
---|
| 75 | <input type="hidden" name="id" value="${contactInstance?.id}" /> |
---|
| 76 | <span class="button"><g:actionSubmit class="edit" value="Edit" /></span> |
---|
| 77 | <span class="button"><g:actionSubmit class="delete" onclick="return confirm('Are you sure?');" value="Delete" /></span> |
---|
| 78 | </g:form> |
---|
| 79 | </div> |
---|
| 80 | </div> |
---|
| 81 | </body> |
---|
| 82 | </html> |
---|