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" class="value">${fieldValue(bean:taskInstance, field:'assignedPersons')}</td> |
---|
85 | |
---|
86 | </tr> |
---|
87 | |
---|
88 | <tr class="prop"> |
---|
89 | <td valign="top" class="name">Entries:</td> |
---|
90 | |
---|
91 | <td valign="top" style="text-align:left;" class="value"> |
---|
92 | <ul> |
---|
93 | <g:each var="e" in="${taskInstance.entries}"> |
---|
94 | <li><g:link controller="entry" action="show" id="${e.id}">${e?.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">Is Active:</td> |
---|
103 | |
---|
104 | <td valign="top" class="value">${fieldValue(bean:taskInstance, field:'isActive')}</td> |
---|
105 | |
---|
106 | </tr> |
---|
107 | |
---|
108 | <tr class="prop"> |
---|
109 | <td valign="top" class="name">Is Approved:</td> |
---|
110 | |
---|
111 | <td valign="top" class="value">${fieldValue(bean:taskInstance, field:'isApproved')}</td> |
---|
112 | |
---|
113 | </tr> |
---|
114 | |
---|
115 | <tr class="prop"> |
---|
116 | <td valign="top" class="name">Is Scheduled:</td> |
---|
117 | |
---|
118 | <td valign="top" class="value">${fieldValue(bean:taskInstance, field:'isScheduled')}</td> |
---|
119 | |
---|
120 | </tr> |
---|
121 | |
---|
122 | <tr class="prop"> |
---|
123 | <td valign="top" class="name">Modifications:</td> |
---|
124 | |
---|
125 | <td valign="top" style="text-align:left;" class="value"> |
---|
126 | <ul> |
---|
127 | <g:each var="m" in="${taskInstance.modifications}"> |
---|
128 | <li><g:link controller="modification" action="show" id="${m.id}">${m?.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">Sub Tasks:</td> |
---|
137 | |
---|
138 | <td valign="top" style="text-align:left;" class="value"> |
---|
139 | <ul> |
---|
140 | <g:each var="s" in="${taskInstance.subTasks}"> |
---|
141 | <li><g:link controller="task" action="show" id="${s.id}">${s?.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">Target Completion Date:</td> |
---|
150 | |
---|
151 | <td valign="top" class="value">${fieldValue(bean:taskInstance, field:'targetCompletionDate')}</td> |
---|
152 | |
---|
153 | </tr> |
---|
154 | |
---|
155 | <tr class="prop"> |
---|
156 | <td valign="top" class="name">Task Group:</td> |
---|
157 | |
---|
158 | <td valign="top" class="value"><g:link controller="taskGroup" action="show" id="${taskInstance?.taskGroup?.id}">${taskInstance?.taskGroup?.encodeAsHTML()}</g:link></td> |
---|
159 | |
---|
160 | </tr> |
---|
161 | |
---|
162 | <tr class="prop"> |
---|
163 | <td valign="top" class="name">Task Type:</td> |
---|
164 | |
---|
165 | <td valign="top" class="value"><g:link controller="taskType" action="show" id="${taskInstance?.taskType?.id}">${taskInstance?.taskType?.encodeAsHTML()}</g:link></td> |
---|
166 | |
---|
167 | </tr> |
---|
168 | |
---|
169 | </tbody> |
---|
170 | </table> |
---|
171 | </div> |
---|
172 | <div class="buttons"> |
---|
173 | <g:form> |
---|
174 | <input type="hidden" name="id" value="${taskInstance?.id}" /> |
---|
175 | <span class="button"><g:actionSubmit class="edit" value="Edit" /></span> |
---|
176 | <span class="button"><g:actionSubmit class="delete" onclick="return confirm('Are you sure?');" value="Delete" /></span> |
---|
177 | </g:form> |
---|
178 | </div> |
---|
179 | </div> |
---|
180 | </body> |
---|
181 | </html> |
---|