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