[59] | 1 | <head> |
---|
| 2 | <meta name="layout" content="main" /> |
---|
| 3 | <title>Show Person</title> |
---|
| 4 | </head> |
---|
| 5 | |
---|
| 6 | <body> |
---|
| 7 | |
---|
| 8 | <div class="nav"> |
---|
| 9 | <span class="menuButton"><a class="home" href="${createLinkTo(dir:'')}">Home</a></span> |
---|
| 10 | <span class="menuButton"><g:link class="list" action="list">Person List</g:link></span> |
---|
| 11 | <span class="menuButton"><g:link class="create" action="create">New Person</g:link></span> |
---|
| 12 | </div> |
---|
| 13 | |
---|
| 14 | <div class="body"> |
---|
| 15 | <h1>Show Person</h1> |
---|
| 16 | <g:if test="${flash.message}"> |
---|
| 17 | <div class="message">${flash.message}</div> |
---|
| 18 | </g:if> |
---|
| 19 | <div class="dialog"> |
---|
| 20 | <table> |
---|
| 21 | <tbody> |
---|
| 22 | |
---|
| 23 | <tr class="prop"> |
---|
| 24 | <td valign="top" class="name">ID:</td> |
---|
| 25 | <td valign="top" class="value">${person.id}</td> |
---|
| 26 | </tr> |
---|
| 27 | |
---|
| 28 | <tr class="prop"> |
---|
| 29 | <td valign="top" class="name">Login Name:</td> |
---|
| 30 | <td valign="top" class="value">${person.loginName?.encodeAsHTML()}</td> |
---|
| 31 | </tr> |
---|
| 32 | |
---|
| 33 | <tr class="prop"> |
---|
| 34 | <td valign="top" class="name">First Name:</td> |
---|
| 35 | <td valign="top" class="value">${person.firstName?.encodeAsHTML()}</td> |
---|
| 36 | </tr> |
---|
| 37 | |
---|
| 38 | <tr class="prop"> |
---|
| 39 | <td valign="top" class="name">Last Name:</td> |
---|
| 40 | <td valign="top" class="value">${person.lastName?.encodeAsHTML()}</td> |
---|
| 41 | </tr> |
---|
| 42 | |
---|
| 43 | <tr class="prop"> |
---|
| 44 | <td valign="top" class="name">isActive:</td> |
---|
| 45 | <td valign="top" class="value">${person.isActive}</td> |
---|
| 46 | </tr> |
---|
| 47 | |
---|
| 48 | <tr class="prop"> |
---|
| 49 | <td valign="top" class="name">Description:</td> |
---|
| 50 | <td valign="top" class="value">${person.description?.encodeAsHTML()}</td> |
---|
| 51 | </tr> |
---|
| 52 | |
---|
| 53 | <tr class="prop"> |
---|
| 54 | <td valign="top" class="name">Email:</td> |
---|
| 55 | <td valign="top" class="value">${person.email?.encodeAsHTML()}</td> |
---|
| 56 | </tr> |
---|
| 57 | |
---|
| 58 | <tr class="prop"> |
---|
| 59 | <td valign="top" class="name">Show Email:</td> |
---|
| 60 | <td valign="top" class="value">${person.emailShow}</td> |
---|
| 61 | </tr> |
---|
| 62 | |
---|
| 63 | <tr class="prop"> |
---|
| 64 | <td valign="top" class="name">Employee ID:</td> |
---|
| 65 | <td valign="top" class="value">${person.employeeID}</td> |
---|
| 66 | </tr> |
---|
| 67 | |
---|
| 68 | <tr class="prop"> |
---|
| 69 | <td valign="top" class="name">Authorities:</td> |
---|
| 70 | <td valign="top" class="value"> |
---|
| 71 | <ul> |
---|
| 72 | <g:each in="${roleNames}" var='name'> |
---|
| 73 | <li>${name}</li> |
---|
| 74 | </g:each> |
---|
| 75 | </ul> |
---|
| 76 | </td> |
---|
| 77 | </tr> |
---|
| 78 | |
---|
| 79 | </tbody> |
---|
| 80 | </table> |
---|
| 81 | </div> |
---|
| 82 | |
---|
| 83 | <div class="buttons"> |
---|
| 84 | <g:form> |
---|
| 85 | <input type="hidden" name="id" value="${person.id}" /> |
---|
| 86 | <span class="button"><g:actionSubmit class="edit" value="Edit" /></span> |
---|
| 87 | <span class="button"><g:actionSubmit class="delete" onclick="return confirm('Are you sure?');" value="Delete" /></span> |
---|
| 88 | </g:form> |
---|
| 89 | </div> |
---|
| 90 | |
---|
| 91 | </div> |
---|
| 92 | </body> |
---|