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