[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"> |
---|
[40] | 47 | <td valign="top" class="name">User Id:</td> |
---|
| 48 | |
---|
| 49 | <td valign="top" class="value">${fieldValue(bean:personInstance, field:'userId')}</td> |
---|
| 50 | |
---|
| 51 | </tr> |
---|
| 52 | |
---|
| 53 | <tr class="prop"> |
---|
| 54 | <td valign="top" class="name">Password:</td> |
---|
| 55 | |
---|
| 56 | <td valign="top" class="value">${fieldValue(bean:personInstance, field:'password')}</td> |
---|
| 57 | |
---|
| 58 | </tr> |
---|
| 59 | |
---|
| 60 | <tr class="prop"> |
---|
[21] | 61 | <td valign="top" class="name">Employee ID:</td> |
---|
| 62 | |
---|
| 63 | <td valign="top" class="value">${fieldValue(bean:personInstance, field:'employeeID')}</td> |
---|
| 64 | |
---|
| 65 | </tr> |
---|
| 66 | |
---|
| 67 | <tr class="prop"> |
---|
| 68 | <td valign="top" class="name">Entries:</td> |
---|
| 69 | |
---|
[40] | 70 | <td valign="top" style="text-align:left;" class="value"> |
---|
| 71 | <ul> |
---|
| 72 | <g:each var="e" in="${personInstance.entries}"> |
---|
| 73 | <li><g:link controller="entry" action="show" id="${e.id}">${e?.encodeAsHTML()}</g:link></li> |
---|
| 74 | </g:each> |
---|
| 75 | </ul> |
---|
| 76 | </td> |
---|
[21] | 77 | |
---|
| 78 | </tr> |
---|
| 79 | |
---|
| 80 | <tr class="prop"> |
---|
| 81 | <td valign="top" class="name">Is Active:</td> |
---|
| 82 | |
---|
| 83 | <td valign="top" class="value">${fieldValue(bean:personInstance, field:'isActive')}</td> |
---|
| 84 | |
---|
| 85 | </tr> |
---|
| 86 | |
---|
| 87 | <tr class="prop"> |
---|
| 88 | <td valign="top" class="name">Modifications:</td> |
---|
| 89 | |
---|
| 90 | <td valign="top" style="text-align:left;" class="value"> |
---|
| 91 | <ul> |
---|
| 92 | <g:each var="m" in="${personInstance.modifications}"> |
---|
| 93 | <li><g:link controller="modification" action="show" id="${m.id}">${m?.encodeAsHTML()}</g:link></li> |
---|
| 94 | </g:each> |
---|
| 95 | </ul> |
---|
| 96 | </td> |
---|
| 97 | |
---|
| 98 | </tr> |
---|
| 99 | |
---|
| 100 | <tr class="prop"> |
---|
| 101 | <td valign="top" class="name">Person Groups:</td> |
---|
| 102 | |
---|
| 103 | <td valign="top" class="value">${fieldValue(bean:personInstance, field:'personGroups')}</td> |
---|
| 104 | |
---|
| 105 | </tr> |
---|
| 106 | |
---|
| 107 | <tr class="prop"> |
---|
| 108 | <td valign="top" class="name">Tasks:</td> |
---|
| 109 | |
---|
| 110 | <td valign="top" style="text-align:left;" class="value"> |
---|
| 111 | <ul> |
---|
| 112 | <g:each var="t" in="${personInstance.tasks}"> |
---|
| 113 | <li><g:link controller="task" action="show" id="${t.id}">${t?.encodeAsHTML()}</g:link></li> |
---|
| 114 | </g:each> |
---|
| 115 | </ul> |
---|
| 116 | </td> |
---|
| 117 | |
---|
| 118 | </tr> |
---|
| 119 | |
---|
| 120 | </tbody> |
---|
| 121 | </table> |
---|
| 122 | </div> |
---|
| 123 | <div class="buttons"> |
---|
| 124 | <g:form> |
---|
| 125 | <input type="hidden" name="id" value="${personInstance?.id}" /> |
---|
| 126 | <span class="button"><g:actionSubmit class="edit" value="Edit" /></span> |
---|
| 127 | <span class="button"><g:actionSubmit class="delete" onclick="return confirm('Are you sure?');" value="Delete" /></span> |
---|
| 128 | </g:form> |
---|
| 129 | </div> |
---|
| 130 | </div> |
---|
| 131 | </body> |
---|
| 132 | </html> |
---|