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 AssetSubItem</title> |
---|
8 | </head> |
---|
9 | <body> |
---|
10 | <div class="nav"> |
---|
11 | <h1>Show Sub Item</h1> |
---|
12 | </div> |
---|
13 | <div class="body"> |
---|
14 | <g:render template="/shared/messages" /> |
---|
15 | <div class="dialog"> |
---|
16 | <table> |
---|
17 | <tbody> |
---|
18 | |
---|
19 | |
---|
20 | <tr class="prop"> |
---|
21 | <td valign="top" class="name">Id:</td> |
---|
22 | |
---|
23 | <td valign="top" class="value">${fieldValue(bean:assetSubItemInstance, field:'id')}</td> |
---|
24 | |
---|
25 | </tr> |
---|
26 | |
---|
27 | <tr class="prop"> |
---|
28 | <td valign="top" class="name">Name:</td> |
---|
29 | |
---|
30 | <td valign="top" class="value">${fieldValue(bean:assetSubItemInstance, field:'name')}</td> |
---|
31 | |
---|
32 | </tr> |
---|
33 | |
---|
34 | <tr class="prop"> |
---|
35 | <td valign="top" class="name">Description:</td> |
---|
36 | |
---|
37 | <td valign="top" class="value">${fieldValue(bean:assetSubItemInstance, field:'description')}</td> |
---|
38 | |
---|
39 | </tr> |
---|
40 | |
---|
41 | <tr class="prop"> |
---|
42 | <td valign="top" class="name">Comment:</td> |
---|
43 | |
---|
44 | <td valign="top" class="value">${fieldValue(bean:assetSubItemInstance, field:'comment')}</td> |
---|
45 | |
---|
46 | </tr> |
---|
47 | |
---|
48 | <tr class="prop"> |
---|
49 | <td valign="top" class="name">Is Active:</td> |
---|
50 | |
---|
51 | <td valign="top" class="value">${fieldValue(bean:assetSubItemInstance, field:'isActive')}</td> |
---|
52 | |
---|
53 | </tr> |
---|
54 | |
---|
55 | <tr class="prop"> |
---|
56 | <td valign="top" class="name">Asset Sub Item Extended Attributes:</td> |
---|
57 | |
---|
58 | <td valign="top" style="text-align:left;" class="value"> |
---|
59 | <ul> |
---|
60 | <g:each var="a" in="${assetSubItemInstance.assetSubItemExtendedAttributes}"> |
---|
61 | <li><g:link controller="assetSubItemExtendedAttributeDetailed" action="show" id="${a.id}">${a?.encodeAsHTML()}</g:link></li> |
---|
62 | </g:each> |
---|
63 | </ul> |
---|
64 | </td> |
---|
65 | |
---|
66 | </tr> |
---|
67 | |
---|
68 | <tr class="prop"> |
---|
69 | <td valign="top" class="name">Maintenance Actions:</td> |
---|
70 | |
---|
71 | <td valign="top" style="text-align:left;" class="value"> |
---|
72 | <ul> |
---|
73 | <g:each var="m" in="${assetSubItemInstance.maintenanceActions}"> |
---|
74 | <li><g:link controller="maintenanceActionDetailed" action="show" id="${m.id}">${m?.encodeAsHTML()}</g:link></li> |
---|
75 | </g:each> |
---|
76 | </ul> |
---|
77 | </td> |
---|
78 | |
---|
79 | </tr> |
---|
80 | |
---|
81 | <tr class="prop"> |
---|
82 | <td valign="top" class="name">Parent Item:</td> |
---|
83 | |
---|
84 | <td valign="top" class="value"><g:link controller="assetSubItemDetailed" action="show" id="${assetSubItemInstance?.parentItem?.id}">${assetSubItemInstance?.parentItem?.encodeAsHTML()}</g:link></td> |
---|
85 | |
---|
86 | </tr> |
---|
87 | |
---|
88 | <tr class="prop"> |
---|
89 | <td valign="top" class="name">Assets:</td> |
---|
90 | |
---|
91 | <td valign="top" style="text-align:left;" class="value"> |
---|
92 | <ul> |
---|
93 | <g:each var="a" in="${assetSubItemInstance.assets}"> |
---|
94 | <li><g:link controller="assetDetailed" action="show" id="${a.id}">${a?.encodeAsHTML()}</g:link></li> |
---|
95 | </g:each> |
---|
96 | </ul> |
---|
97 | </td> |
---|
98 | |
---|
99 | </tr> |
---|
100 | |
---|
101 | <tr class="prop"> |
---|
102 | <td valign="top" class="name">Sub Items:</td> |
---|
103 | |
---|
104 | <td valign="top" style="text-align:left;" class="value"> |
---|
105 | <ul> |
---|
106 | <g:each var="s" in="${assetSubItemInstance.subItems}"> |
---|
107 | <li><g:link controller="assetSubItemDetailed" action="show" id="${s.id}">${s?.encodeAsHTML()}</g:link></li> |
---|
108 | </g:each> |
---|
109 | </ul> |
---|
110 | </td> |
---|
111 | |
---|
112 | </tr> |
---|
113 | |
---|
114 | </tbody> |
---|
115 | </table> |
---|
116 | </div> |
---|
117 | <div class="buttons"> |
---|
118 | <g:form> |
---|
119 | <input type="hidden" name="id" value="${assetSubItemInstance?.id}" /> |
---|
120 | <span class="button"><g:actionSubmit class="edit" value="Edit" /></span> |
---|
121 | <span class="button"><g:actionSubmit class="delete" onclick="return confirm('Are you sure?');" value="Delete" /></span> |
---|
122 | </g:form> |
---|
123 | </div> |
---|
124 | </div> |
---|
125 | </body> |
---|
126 | </html> |
---|