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">Name:</td> |
---|
34 | |
---|
35 | <td valign="top" class="value">${fieldValue(bean:taskInstance, field:'name')}</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">Entries:</td> |
---|
48 | |
---|
49 | <td valign="top" style="text-align:left;" class="value"> |
---|
50 | <ul> |
---|
51 | <g:each var="e" in="${taskInstance.entries}"> |
---|
52 | <li><g:link controller="entry" action="show" id="${e.id}">${e?.encodeAsHTML()}</g:link></li> |
---|
53 | </g:each> |
---|
54 | </ul> |
---|
55 | </td> |
---|
56 | |
---|
57 | </tr> |
---|
58 | |
---|
59 | <tr class="prop"> |
---|
60 | <td valign="top" class="name">Modifications:</td> |
---|
61 | |
---|
62 | <td valign="top" style="text-align:left;" class="value"> |
---|
63 | <ul> |
---|
64 | <g:each var="m" in="${taskInstance.modifications}"> |
---|
65 | <li><g:link controller="modification" action="show" id="${m.id}">${m?.encodeAsHTML()}</g:link></li> |
---|
66 | </g:each> |
---|
67 | </ul> |
---|
68 | </td> |
---|
69 | |
---|
70 | </tr> |
---|
71 | |
---|
72 | <tr class="prop"> |
---|
73 | <td valign="top" class="name">Person:</td> |
---|
74 | |
---|
75 | <td valign="top" class="value"><g:link controller="person" action="show" id="${taskInstance?.person?.id}">${taskInstance?.person?.encodeAsHTML()}</g:link></td> |
---|
76 | |
---|
77 | </tr> |
---|
78 | |
---|
79 | <tr class="prop"> |
---|
80 | <td valign="top" class="name">Scheduled Date:</td> |
---|
81 | |
---|
82 | <td valign="top" class="value">${fieldValue(bean:taskInstance, field:'scheduledDate')}</td> |
---|
83 | |
---|
84 | </tr> |
---|
85 | |
---|
86 | <tr class="prop"> |
---|
87 | <td valign="top" class="name">Target Date:</td> |
---|
88 | |
---|
89 | <td valign="top" class="value">${fieldValue(bean:taskInstance, field:'targetDate')}</td> |
---|
90 | |
---|
91 | </tr> |
---|
92 | |
---|
93 | <tr class="prop"> |
---|
94 | <td valign="top" class="name">Task Group:</td> |
---|
95 | |
---|
96 | <td valign="top" class="value"><g:link controller="taskGroup" action="show" id="${taskInstance?.taskGroup?.id}">${taskInstance?.taskGroup?.encodeAsHTML()}</g:link></td> |
---|
97 | |
---|
98 | </tr> |
---|
99 | |
---|
100 | </tbody> |
---|
101 | </table> |
---|
102 | </div> |
---|
103 | <div class="buttons"> |
---|
104 | <g:form> |
---|
105 | <input type="hidden" name="id" value="${taskInstance?.id}" /> |
---|
106 | <span class="button"><g:actionSubmit class="edit" value="Edit" /></span> |
---|
107 | <span class="button"><g:actionSubmit class="delete" onclick="return confirm('Are you sure?');" value="Delete" /></span> |
---|
108 | </g:form> |
---|
109 | </div> |
---|
110 | </div> |
---|
111 | </body> |
---|
112 | </html> |
---|