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 SubAssembly</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">SubAssembly List</g:link></span> |
---|
13 | <span class="menuButton"><g:link class="create" action="create">New SubAssembly</g:link></span> |
---|
14 | </div> |
---|
15 | <div class="body"> |
---|
16 | <h1>Show SubAssembly</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:subAssemblyInstance, field:'id')}</td> |
---|
29 | |
---|
30 | </tr> |
---|
31 | |
---|
32 | <tr class="prop"> |
---|
33 | <td valign="top" class="name">Assemblies:</td> |
---|
34 | |
---|
35 | <td valign="top" style="text-align:left;" class="value"> |
---|
36 | <ul> |
---|
37 | <g:each var="a" in="${subAssemblyInstance.assemblies}"> |
---|
38 | <li><g:link controller="assembly" action="show" id="${a.id}">${a?.encodeAsHTML()}</g:link></li> |
---|
39 | </g:each> |
---|
40 | </ul> |
---|
41 | </td> |
---|
42 | |
---|
43 | </tr> |
---|
44 | |
---|
45 | <tr class="prop"> |
---|
46 | <td valign="top" class="name">Component Items:</td> |
---|
47 | |
---|
48 | <td valign="top" style="text-align:left;" class="value"> |
---|
49 | <ul> |
---|
50 | <g:each var="c" in="${subAssemblyInstance.componentItems}"> |
---|
51 | <li><g:link controller="componentItem" action="show" id="${c.id}">${c?.encodeAsHTML()}</g:link></li> |
---|
52 | </g:each> |
---|
53 | </ul> |
---|
54 | </td> |
---|
55 | |
---|
56 | </tr> |
---|
57 | |
---|
58 | <tr class="prop"> |
---|
59 | <td valign="top" class="name">Description:</td> |
---|
60 | |
---|
61 | <td valign="top" class="value">${fieldValue(bean:subAssemblyInstance, field:'description')}</td> |
---|
62 | |
---|
63 | </tr> |
---|
64 | |
---|
65 | <tr class="prop"> |
---|
66 | <td valign="top" class="name">Is Active:</td> |
---|
67 | |
---|
68 | <td valign="top" class="value">${fieldValue(bean:subAssemblyInstance, field:'isActive')}</td> |
---|
69 | |
---|
70 | </tr> |
---|
71 | |
---|
72 | <tr class="prop"> |
---|
73 | <td valign="top" class="name">Lifeplan:</td> |
---|
74 | |
---|
75 | <td valign="top" class="value"><g:link controller="lifePlan" action="show" id="${subAssemblyInstance?.lifeplan?.id}">${subAssemblyInstance?.lifeplan?.encodeAsHTML()}</g:link></td> |
---|
76 | |
---|
77 | </tr> |
---|
78 | |
---|
79 | <tr class="prop"> |
---|
80 | <td valign="top" class="name">Name:</td> |
---|
81 | |
---|
82 | <td valign="top" class="value">${fieldValue(bean:subAssemblyInstance, field:'name')}</td> |
---|
83 | |
---|
84 | </tr> |
---|
85 | |
---|
86 | </tbody> |
---|
87 | </table> |
---|
88 | </div> |
---|
89 | <div class="buttons"> |
---|
90 | <g:form> |
---|
91 | <input type="hidden" name="id" value="${subAssemblyInstance?.id}" /> |
---|
92 | <span class="button"><g:actionSubmit class="edit" value="Edit" /></span> |
---|
93 | <span class="button"><g:actionSubmit class="delete" onclick="return confirm('Are you sure?');" value="Delete" /></span> |
---|
94 | </g:form> |
---|
95 | </div> |
---|
96 | </div> |
---|
97 | </body> |
---|
98 | </html> |
---|