[21] | 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 Person</title> |
---|
| 8 | </head> |
---|
| 9 | <body> |
---|
| 10 | <div class="nav"> |
---|
| 11 | <span class="menuButton"><a class="home" href="${createLinkTo(dir:'')}">Home</a></span> |
---|
| 12 | <span class="menuButton"><g:link class="list" action="list">Person List</g:link></span> |
---|
| 13 | <span class="menuButton"><g:link class="create" action="create">New Person</g:link></span> |
---|
| 14 | </div> |
---|
| 15 | <div class="body"> |
---|
| 16 | <h1>Show Person</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:personInstance, field:'id')}</td> |
---|
| 29 | |
---|
| 30 | </tr> |
---|
| 31 | |
---|
| 32 | <tr class="prop"> |
---|
| 33 | <td valign="top" class="name">First Name:</td> |
---|
| 34 | |
---|
| 35 | <td valign="top" class="value">${fieldValue(bean:personInstance, field:'firstName')}</td> |
---|
| 36 | |
---|
| 37 | </tr> |
---|
| 38 | |
---|
| 39 | <tr class="prop"> |
---|
| 40 | <td valign="top" class="name">Last Name:</td> |
---|
| 41 | |
---|
| 42 | <td valign="top" class="value">${fieldValue(bean:personInstance, field:'lastName')}</td> |
---|
| 43 | |
---|
| 44 | </tr> |
---|
| 45 | |
---|
| 46 | <tr class="prop"> |
---|
| 47 | <td valign="top" class="name">Employee ID:</td> |
---|
| 48 | |
---|
| 49 | <td valign="top" class="value">${fieldValue(bean:personInstance, field:'employeeID')}</td> |
---|
| 50 | |
---|
| 51 | </tr> |
---|
| 52 | |
---|
| 53 | <tr class="prop"> |
---|
| 54 | <td valign="top" class="name">Entries:</td> |
---|
| 55 | |
---|
| 56 | <td valign="top" class="value">${fieldValue(bean:personInstance, field:'entries')}</td> |
---|
| 57 | |
---|
| 58 | </tr> |
---|
| 59 | |
---|
| 60 | <tr class="prop"> |
---|
| 61 | <td valign="top" class="name">Is Active:</td> |
---|
| 62 | |
---|
| 63 | <td valign="top" class="value">${fieldValue(bean:personInstance, field:'isActive')}</td> |
---|
| 64 | |
---|
| 65 | </tr> |
---|
| 66 | |
---|
| 67 | <tr class="prop"> |
---|
| 68 | <td valign="top" class="name">Modifications:</td> |
---|
| 69 | |
---|
| 70 | <td valign="top" style="text-align:left;" class="value"> |
---|
| 71 | <ul> |
---|
| 72 | <g:each var="m" in="${personInstance.modifications}"> |
---|
| 73 | <li><g:link controller="modification" action="show" id="${m.id}">${m?.encodeAsHTML()}</g:link></li> |
---|
| 74 | </g:each> |
---|
| 75 | </ul> |
---|
| 76 | </td> |
---|
| 77 | |
---|
| 78 | </tr> |
---|
| 79 | |
---|
| 80 | <tr class="prop"> |
---|
| 81 | <td valign="top" class="name">Person Group:</td> |
---|
| 82 | |
---|
| 83 | <td valign="top" class="value"><g:link controller="personGroup" action="show" id="${personInstance?.personGroup?.id}">${personInstance?.personGroup?.encodeAsHTML()}</g:link></td> |
---|
| 84 | |
---|
| 85 | </tr> |
---|
| 86 | |
---|
| 87 | <tr class="prop"> |
---|
| 88 | <td valign="top" class="name">Person Groups:</td> |
---|
| 89 | |
---|
| 90 | <td valign="top" class="value">${fieldValue(bean:personInstance, field:'personGroups')}</td> |
---|
| 91 | |
---|
| 92 | </tr> |
---|
| 93 | |
---|
| 94 | <tr class="prop"> |
---|
| 95 | <td valign="top" class="name">Tasks:</td> |
---|
| 96 | |
---|
| 97 | <td valign="top" style="text-align:left;" class="value"> |
---|
| 98 | <ul> |
---|
| 99 | <g:each var="t" in="${personInstance.tasks}"> |
---|
| 100 | <li><g:link controller="task" action="show" id="${t.id}">${t?.encodeAsHTML()}</g:link></li> |
---|
| 101 | </g:each> |
---|
| 102 | </ul> |
---|
| 103 | </td> |
---|
| 104 | |
---|
| 105 | </tr> |
---|
| 106 | |
---|
| 107 | </tbody> |
---|
| 108 | </table> |
---|
| 109 | </div> |
---|
| 110 | <div class="buttons"> |
---|
| 111 | <g:form> |
---|
| 112 | <input type="hidden" name="id" value="${personInstance?.id}" /> |
---|
| 113 | <span class="button"><g:actionSubmit class="edit" value="Edit" /></span> |
---|
| 114 | <span class="button"><g:actionSubmit class="delete" onclick="return confirm('Are you sure?');" value="Delete" /></span> |
---|
| 115 | </g:form> |
---|
| 116 | </div> |
---|
| 117 | </div> |
---|
| 118 | </body> |
---|
| 119 | </html> |
---|