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 Task</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">Task List</g:link></span> |
---|
13 | <span class="menuButton"><g:link class="create" action="create">New Task</g:link></span> |
---|
14 | </div> |
---|
15 | <div class="body"> |
---|
16 | <h1>Show Task</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:taskInstance, field:'id')}</td> |
---|
29 | |
---|
30 | </tr> |
---|
31 | |
---|
32 | <tr class="prop"> |
---|
33 | <td valign="top" class="name">Description:</td> |
---|
34 | |
---|
35 | <td valign="top" class="value">${fieldValue(bean:taskInstance, field:'description')}</td> |
---|
36 | |
---|
37 | </tr> |
---|
38 | |
---|
39 | <tr class="prop"> |
---|
40 | <td valign="top" class="name">Comment:</td> |
---|
41 | |
---|
42 | <td valign="top" class="value">${fieldValue(bean:taskInstance, field:'comment')}</td> |
---|
43 | |
---|
44 | </tr> |
---|
45 | |
---|
46 | <tr class="prop"> |
---|
47 | <td valign="top" class="name">Target Start Date:</td> |
---|
48 | |
---|
49 | <td valign="top" class="value">${fieldValue(bean:taskInstance, field:'targetStartDate')}</td> |
---|
50 | |
---|
51 | </tr> |
---|
52 | |
---|
53 | <tr class="prop"> |
---|
54 | <td valign="top" class="name">Target Completion Date:</td> |
---|
55 | |
---|
56 | <td valign="top" class="value">${fieldValue(bean:taskInstance, field:'targetCompletionDate')}</td> |
---|
57 | |
---|
58 | </tr> |
---|
59 | |
---|
60 | <tr class="prop"> |
---|
61 | <td valign="top" class="name">Lead Person:</td> |
---|
62 | |
---|
63 | <td valign="top" class="value"><g:link controller="person" action="show" id="${taskInstance?.leadPerson?.id}">${taskInstance?.leadPerson?.encodeAsHTML()}</g:link></td> |
---|
64 | |
---|
65 | </tr> |
---|
66 | |
---|
67 | <tr class="prop"> |
---|
68 | <td valign="top" class="name">Task Priority:</td> |
---|
69 | |
---|
70 | <td valign="top" class="value"><g:link controller="taskPriority" action="show" id="${taskInstance?.taskPriority?.id}">${taskInstance?.taskPriority?.encodeAsHTML()}</g:link></td> |
---|
71 | |
---|
72 | </tr> |
---|
73 | |
---|
74 | <tr class="prop"> |
---|
75 | <td valign="top" class="name">Task Status:</td> |
---|
76 | |
---|
77 | <td valign="top" class="value"><g:link controller="taskStatus" action="show" id="${taskInstance?.taskStatus?.id}">${taskInstance?.taskStatus?.encodeAsHTML()}</g:link></td> |
---|
78 | |
---|
79 | </tr> |
---|
80 | |
---|
81 | <tr class="prop"> |
---|
82 | <td valign="top" class="name">Parent Task:</td> |
---|
83 | |
---|
84 | <td valign="top" class="value"><g:link controller="task" action="show" id="${taskInstance?.parentTask?.id}">${taskInstance?.parentTask?.encodeAsHTML()}</g:link></td> |
---|
85 | |
---|
86 | </tr> |
---|
87 | |
---|
88 | <tr class="prop"> |
---|
89 | <td valign="top" class="name">Primary Asset:</td> |
---|
90 | |
---|
91 | <td valign="top" class="value"><g:link controller="asset" action="show" id="${taskInstance?.primaryAsset?.id}">${taskInstance?.primaryAsset?.encodeAsHTML()}</g:link></td> |
---|
92 | |
---|
93 | </tr> |
---|
94 | |
---|
95 | <tr class="prop"> |
---|
96 | <td valign="top" class="name">Task Recurring Schedule:</td> |
---|
97 | |
---|
98 | <td valign="top" class="value"><g:link controller="taskRecurringSchedule" action="show" id="${taskInstance?.taskRecurringSchedule?.id}">${taskInstance?.taskRecurringSchedule?.encodeAsHTML()}</g:link></td> |
---|
99 | |
---|
100 | </tr> |
---|
101 | |
---|
102 | <tr class="prop"> |
---|
103 | <td valign="top" class="name">Task Procedure:</td> |
---|
104 | |
---|
105 | <td valign="top" class="value"><g:link controller="taskProcedure" action="show" id="${taskInstance?.taskProcedure?.id}">${taskInstance?.taskProcedure?.encodeAsHTML()}</g:link></td> |
---|
106 | |
---|
107 | </tr> |
---|
108 | |
---|
109 | <tr class="prop"> |
---|
110 | <td valign="top" class="name">Assigned Persons:</td> |
---|
111 | |
---|
112 | <td valign="top" style="text-align:left;" class="value"> |
---|
113 | <ul> |
---|
114 | <g:each var="a" in="${taskInstance.assignedPersons}"> |
---|
115 | <li><g:link controller="assignedPerson" action="show" id="${a.id}">${a?.encodeAsHTML()}</g:link></li> |
---|
116 | </g:each> |
---|
117 | </ul> |
---|
118 | </td> |
---|
119 | |
---|
120 | </tr> |
---|
121 | |
---|
122 | <tr class="prop"> |
---|
123 | <td valign="top" class="name">Associated Assets:</td> |
---|
124 | |
---|
125 | <td valign="top" style="text-align:left;" class="value"> |
---|
126 | <ul> |
---|
127 | <g:each var="a" in="${taskInstance.associatedAssets}"> |
---|
128 | <li><g:link controller="asset" action="show" id="${a.id}">${a?.encodeAsHTML()}</g:link></li> |
---|
129 | </g:each> |
---|
130 | </ul> |
---|
131 | </td> |
---|
132 | |
---|
133 | </tr> |
---|
134 | |
---|
135 | <tr class="prop"> |
---|
136 | <td valign="top" class="name">Entries:</td> |
---|
137 | |
---|
138 | <td valign="top" style="text-align:left;" class="value"> |
---|
139 | <ul> |
---|
140 | <g:each var="e" in="${taskInstance.entries}"> |
---|
141 | <li><g:link controller="entry" action="show" id="${e.id}">${e?.encodeAsHTML()}</g:link></li> |
---|
142 | </g:each> |
---|
143 | </ul> |
---|
144 | </td> |
---|
145 | |
---|
146 | </tr> |
---|
147 | |
---|
148 | <tr class="prop"> |
---|
149 | <td valign="top" class="name">Inventory Movements:</td> |
---|
150 | |
---|
151 | <td valign="top" style="text-align:left;" class="value"> |
---|
152 | <ul> |
---|
153 | <g:each var="i" in="${taskInstance.inventoryMovements}"> |
---|
154 | <li><g:link controller="inventoryMovement" action="show" id="${i.id}">${i?.encodeAsHTML()}</g:link></li> |
---|
155 | </g:each> |
---|
156 | </ul> |
---|
157 | </td> |
---|
158 | |
---|
159 | </tr> |
---|
160 | |
---|
161 | <tr class="prop"> |
---|
162 | <td valign="top" class="name">Is Active:</td> |
---|
163 | |
---|
164 | <td valign="top" class="value">${fieldValue(bean:taskInstance, field:'isActive')}</td> |
---|
165 | |
---|
166 | </tr> |
---|
167 | |
---|
168 | <tr class="prop"> |
---|
169 | <td valign="top" class="name">Is Approved:</td> |
---|
170 | |
---|
171 | <td valign="top" class="value">${fieldValue(bean:taskInstance, field:'isApproved')}</td> |
---|
172 | |
---|
173 | </tr> |
---|
174 | |
---|
175 | <tr class="prop"> |
---|
176 | <td valign="top" class="name">Is Scheduled:</td> |
---|
177 | |
---|
178 | <td valign="top" class="value">${fieldValue(bean:taskInstance, field:'isScheduled')}</td> |
---|
179 | |
---|
180 | </tr> |
---|
181 | |
---|
182 | <tr class="prop"> |
---|
183 | <td valign="top" class="name">Sub Tasks:</td> |
---|
184 | |
---|
185 | <td valign="top" style="text-align:left;" class="value"> |
---|
186 | <ul> |
---|
187 | <g:each var="s" in="${taskInstance.subTasks}"> |
---|
188 | <li><g:link controller="task" action="show" id="${s.id}">${s?.encodeAsHTML()}</g:link></li> |
---|
189 | </g:each> |
---|
190 | </ul> |
---|
191 | </td> |
---|
192 | |
---|
193 | </tr> |
---|
194 | |
---|
195 | <tr class="prop"> |
---|
196 | <td valign="top" class="name">Task Group:</td> |
---|
197 | |
---|
198 | <td valign="top" class="value"><g:link controller="taskGroup" action="show" id="${taskInstance?.taskGroup?.id}">${taskInstance?.taskGroup?.encodeAsHTML()}</g:link></td> |
---|
199 | |
---|
200 | </tr> |
---|
201 | |
---|
202 | <tr class="prop"> |
---|
203 | <td valign="top" class="name">Task Modifications:</td> |
---|
204 | |
---|
205 | <td valign="top" style="text-align:left;" class="value"> |
---|
206 | <ul> |
---|
207 | <g:each var="t" in="${taskInstance.taskModifications}"> |
---|
208 | <li><g:link controller="taskModification" action="show" id="${t.id}">${t?.encodeAsHTML()}</g:link></li> |
---|
209 | </g:each> |
---|
210 | </ul> |
---|
211 | </td> |
---|
212 | |
---|
213 | </tr> |
---|
214 | |
---|
215 | <tr class="prop"> |
---|
216 | <td valign="top" class="name">Task Type:</td> |
---|
217 | |
---|
218 | <td valign="top" class="value"><g:link controller="taskType" action="show" id="${taskInstance?.taskType?.id}">${taskInstance?.taskType?.encodeAsHTML()}</g:link></td> |
---|
219 | |
---|
220 | </tr> |
---|
221 | |
---|
222 | </tbody> |
---|
223 | </table> |
---|
224 | </div> |
---|
225 | <div class="buttons"> |
---|
226 | <g:form> |
---|
227 | <input type="hidden" name="id" value="${taskInstance?.id}" /> |
---|
228 | <span class="button"><g:actionSubmit class="edit" value="Edit" /></span> |
---|
229 | <span class="button"><g:actionSubmit class="delete" onclick="return confirm('Are you sure?');" value="Delete" /></span> |
---|
230 | </g:form> |
---|
231 | </div> |
---|
232 | </div> |
---|
233 | </body> |
---|
234 | </html> |
---|