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">Target Start Date:</td> |
---|
34 | |
---|
35 | <td valign="top" class="value">${fieldValue(bean:taskInstance, field:'targetStartDate')}</td> |
---|
36 | |
---|
37 | </tr> |
---|
38 | |
---|
39 | <tr class="prop"> |
---|
40 | <td valign="top" class="name">Description:</td> |
---|
41 | |
---|
42 | <td valign="top" class="value">${fieldValue(bean:taskInstance, field:'description')}</td> |
---|
43 | |
---|
44 | </tr> |
---|
45 | |
---|
46 | <tr class="prop"> |
---|
47 | <td valign="top" class="name">Lead Person:</td> |
---|
48 | |
---|
49 | <td valign="top" class="value"><g:link controller="person" action="show" id="${taskInstance?.leadPerson?.id}">${taskInstance?.leadPerson?.encodeAsHTML()}</g:link></td> |
---|
50 | |
---|
51 | </tr> |
---|
52 | |
---|
53 | <tr class="prop"> |
---|
54 | <td valign="top" class="name">Task Priority:</td> |
---|
55 | |
---|
56 | <td valign="top" class="value"><g:link controller="taskPriority" action="show" id="${taskInstance?.taskPriority?.id}">${taskInstance?.taskPriority?.encodeAsHTML()}</g:link></td> |
---|
57 | |
---|
58 | </tr> |
---|
59 | |
---|
60 | <tr class="prop"> |
---|
61 | <td valign="top" class="name">Task Status:</td> |
---|
62 | |
---|
63 | <td valign="top" class="value"><g:link controller="taskStatus" action="show" id="${taskInstance?.taskStatus?.id}">${taskInstance?.taskStatus?.encodeAsHTML()}</g:link></td> |
---|
64 | |
---|
65 | </tr> |
---|
66 | |
---|
67 | <tr class="prop"> |
---|
68 | <td valign="top" class="name">Parent Task:</td> |
---|
69 | |
---|
70 | <td valign="top" class="value"><g:link controller="task" action="show" id="${taskInstance?.parentTask?.id}">${taskInstance?.parentTask?.encodeAsHTML()}</g:link></td> |
---|
71 | |
---|
72 | </tr> |
---|
73 | |
---|
74 | <tr class="prop"> |
---|
75 | <td valign="top" class="name">Comment:</td> |
---|
76 | |
---|
77 | <td valign="top" class="value">${fieldValue(bean:taskInstance, field:'comment')}</td> |
---|
78 | |
---|
79 | </tr> |
---|
80 | |
---|
81 | <tr class="prop"> |
---|
82 | <td valign="top" class="name">Assigned Persons:</td> |
---|
83 | |
---|
84 | <td valign="top" style="text-align:left;" class="value"> |
---|
85 | <ul> |
---|
86 | <g:each var="a" in="${taskInstance.assignedPersons}"> |
---|
87 | <li><g:link controller="assignedPerson" action="show" id="${a.id}">${a?.encodeAsHTML()}</g:link></li> |
---|
88 | </g:each> |
---|
89 | </ul> |
---|
90 | </td> |
---|
91 | |
---|
92 | </tr> |
---|
93 | |
---|
94 | <tr class="prop"> |
---|
95 | <td valign="top" class="name">Entries:</td> |
---|
96 | |
---|
97 | <td valign="top" style="text-align:left;" class="value"> |
---|
98 | <ul> |
---|
99 | <g:each var="e" in="${taskInstance.entries}"> |
---|
100 | <li><g:link controller="entry" action="show" id="${e.id}">${e?.encodeAsHTML()}</g:link></li> |
---|
101 | </g:each> |
---|
102 | </ul> |
---|
103 | </td> |
---|
104 | |
---|
105 | </tr> |
---|
106 | |
---|
107 | <tr class="prop"> |
---|
108 | <td valign="top" class="name">Is Active:</td> |
---|
109 | |
---|
110 | <td valign="top" class="value">${fieldValue(bean:taskInstance, field:'isActive')}</td> |
---|
111 | |
---|
112 | </tr> |
---|
113 | |
---|
114 | <tr class="prop"> |
---|
115 | <td valign="top" class="name">Is Approved:</td> |
---|
116 | |
---|
117 | <td valign="top" class="value">${fieldValue(bean:taskInstance, field:'isApproved')}</td> |
---|
118 | |
---|
119 | </tr> |
---|
120 | |
---|
121 | <tr class="prop"> |
---|
122 | <td valign="top" class="name">Is Scheduled:</td> |
---|
123 | |
---|
124 | <td valign="top" class="value">${fieldValue(bean:taskInstance, field:'isScheduled')}</td> |
---|
125 | |
---|
126 | </tr> |
---|
127 | |
---|
128 | <tr class="prop"> |
---|
129 | <td valign="top" class="name">Sub Tasks:</td> |
---|
130 | |
---|
131 | <td valign="top" style="text-align:left;" class="value"> |
---|
132 | <ul> |
---|
133 | <g:each var="s" in="${taskInstance.subTasks}"> |
---|
134 | <li><g:link controller="task" action="show" id="${s.id}">${s?.encodeAsHTML()}</g:link></li> |
---|
135 | </g:each> |
---|
136 | </ul> |
---|
137 | </td> |
---|
138 | |
---|
139 | </tr> |
---|
140 | |
---|
141 | <tr class="prop"> |
---|
142 | <td valign="top" class="name">Target Completion Date:</td> |
---|
143 | |
---|
144 | <td valign="top" class="value">${fieldValue(bean:taskInstance, field:'targetCompletionDate')}</td> |
---|
145 | |
---|
146 | </tr> |
---|
147 | |
---|
148 | <tr class="prop"> |
---|
149 | <td valign="top" class="name">Task Group:</td> |
---|
150 | |
---|
151 | <td valign="top" class="value"><g:link controller="taskGroup" action="show" id="${taskInstance?.taskGroup?.id}">${taskInstance?.taskGroup?.encodeAsHTML()}</g:link></td> |
---|
152 | |
---|
153 | </tr> |
---|
154 | |
---|
155 | <tr class="prop"> |
---|
156 | <td valign="top" class="name">Task Modifications:</td> |
---|
157 | |
---|
158 | <td valign="top" style="text-align:left;" class="value"> |
---|
159 | <ul> |
---|
160 | <g:each var="t" in="${taskInstance.taskModifications}"> |
---|
161 | <li><g:link controller="taskModification" action="show" id="${t.id}">${t?.encodeAsHTML()}</g:link></li> |
---|
162 | </g:each> |
---|
163 | </ul> |
---|
164 | </td> |
---|
165 | |
---|
166 | </tr> |
---|
167 | |
---|
168 | <tr class="prop"> |
---|
169 | <td valign="top" class="name">Task Type:</td> |
---|
170 | |
---|
171 | <td valign="top" class="value"><g:link controller="taskType" action="show" id="${taskInstance?.taskType?.id}">${taskInstance?.taskType?.encodeAsHTML()}</g:link></td> |
---|
172 | |
---|
173 | </tr> |
---|
174 | |
---|
175 | </tbody> |
---|
176 | </table> |
---|
177 | </div> |
---|
178 | <div class="buttons"> |
---|
179 | <g:form> |
---|
180 | <input type="hidden" name="id" value="${taskInstance?.id}" /> |
---|
181 | <span class="button"><g:actionSubmit class="edit" value="Edit" /></span> |
---|
182 | <span class="button"><g:actionSubmit class="delete" onclick="return confirm('Are you sure?');" value="Delete" /></span> |
---|
183 | </g:form> |
---|
184 | </div> |
---|
185 | </div> |
---|
186 | </body> |
---|
187 | </html> |
---|