[162] | 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 Department</title> |
---|
[412] | 8 | <nav:resources override="true"/> |
---|
[162] | 9 | </head> |
---|
| 10 | <body> |
---|
| 11 | <div class="nav"> |
---|
[412] | 12 | <nav:renderSubItems group="navAlt"/> |
---|
[162] | 13 | </div> |
---|
| 14 | <div class="body"> |
---|
[412] | 15 | <g:render template="/shared/messages" /> |
---|
[162] | 16 | <div class="dialog"> |
---|
| 17 | <table> |
---|
| 18 | <tbody> |
---|
| 19 | |
---|
| 20 | |
---|
| 21 | <tr class="prop"> |
---|
| 22 | <td valign="top" class="name">Id:</td> |
---|
| 23 | |
---|
| 24 | <td valign="top" class="value">${fieldValue(bean:departmentInstance, field:'id')}</td> |
---|
| 25 | |
---|
| 26 | </tr> |
---|
| 27 | |
---|
| 28 | <tr class="prop"> |
---|
[164] | 29 | <td valign="top" class="name">Name:</td> |
---|
[162] | 30 | |
---|
[164] | 31 | <td valign="top" class="value">${fieldValue(bean:departmentInstance, field:'name')}</td> |
---|
[162] | 32 | |
---|
| 33 | </tr> |
---|
| 34 | |
---|
| 35 | <tr class="prop"> |
---|
| 36 | <td valign="top" class="name">Description:</td> |
---|
| 37 | |
---|
| 38 | <td valign="top" class="value">${fieldValue(bean:departmentInstance, field:'description')}</td> |
---|
| 39 | |
---|
| 40 | </tr> |
---|
| 41 | |
---|
| 42 | <tr class="prop"> |
---|
[333] | 43 | <td valign="top" class="name">Comment:</td> |
---|
| 44 | |
---|
| 45 | <td valign="top" class="value">${fieldValue(bean:departmentInstance, field:'comment')}</td> |
---|
| 46 | |
---|
| 47 | </tr> |
---|
| 48 | |
---|
| 49 | <tr class="prop"> |
---|
[162] | 50 | <td valign="top" class="name">Is Active:</td> |
---|
| 51 | |
---|
| 52 | <td valign="top" class="value">${fieldValue(bean:departmentInstance, field:'isActive')}</td> |
---|
| 53 | |
---|
| 54 | </tr> |
---|
| 55 | |
---|
| 56 | <tr class="prop"> |
---|
[268] | 57 | <td valign="top" class="name">Department Extended Attributes:</td> |
---|
[162] | 58 | |
---|
[164] | 59 | <td valign="top" style="text-align:left;" class="value"> |
---|
| 60 | <ul> |
---|
[268] | 61 | <g:each var="d" in="${departmentInstance.departmentExtendedAttributes}"> |
---|
[288] | 62 | <li><g:link controller="departmentExtendedAttributeDetailed" action="show" id="${d.id}">${d?.encodeAsHTML()}</g:link></li> |
---|
[164] | 63 | </g:each> |
---|
| 64 | </ul> |
---|
| 65 | </td> |
---|
[162] | 66 | |
---|
| 67 | </tr> |
---|
| 68 | |
---|
| 69 | <tr class="prop"> |
---|
[272] | 70 | <td valign="top" class="name">Persons:</td> |
---|
| 71 | |
---|
| 72 | <td valign="top" style="text-align:left;" class="value"> |
---|
| 73 | <ul> |
---|
| 74 | <g:each var="p" in="${departmentInstance.persons}"> |
---|
| 75 | <li><g:link controller="person" action="show" id="${p.id}">${p?.encodeAsHTML()}</g:link></li> |
---|
| 76 | </g:each> |
---|
| 77 | </ul> |
---|
| 78 | </td> |
---|
| 79 | |
---|
| 80 | </tr> |
---|
| 81 | |
---|
| 82 | <tr class="prop"> |
---|
[268] | 83 | <td valign="top" class="name">Sections:</td> |
---|
[162] | 84 | |
---|
| 85 | <td valign="top" style="text-align:left;" class="value"> |
---|
| 86 | <ul> |
---|
[268] | 87 | <g:each var="s" in="${departmentInstance.sections}"> |
---|
[288] | 88 | <li><g:link controller="sectionDetailed" action="show" id="${s.id}">${s?.encodeAsHTML()}</g:link></li> |
---|
[162] | 89 | </g:each> |
---|
| 90 | </ul> |
---|
| 91 | </td> |
---|
| 92 | |
---|
| 93 | </tr> |
---|
| 94 | |
---|
| 95 | </tbody> |
---|
| 96 | </table> |
---|
| 97 | </div> |
---|
| 98 | <div class="buttons"> |
---|
| 99 | <g:form> |
---|
| 100 | <input type="hidden" name="id" value="${departmentInstance?.id}" /> |
---|
| 101 | <span class="button"><g:actionSubmit class="edit" value="Edit" /></span> |
---|
| 102 | <span class="button"><g:actionSubmit class="delete" onclick="return confirm('Are you sure?');" value="Delete" /></span> |
---|
| 103 | </g:form> |
---|
| 104 | </div> |
---|
| 105 | </div> |
---|
| 106 | </body> |
---|
| 107 | </html> |
---|