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 TaskRecurringSchedule</title> |
---|
8 | </head> |
---|
9 | <body> |
---|
10 | <div class="nav"> |
---|
11 | <h1>Show Recurring Schedule</h1> |
---|
12 | </div> |
---|
13 | <div class="body"> |
---|
14 | <g:if test="${flash.message}"> |
---|
15 | <div class="message">${flash.message}</div> |
---|
16 | </g:if> |
---|
17 | <div class="dialog"> |
---|
18 | <table> |
---|
19 | <tbody> |
---|
20 | |
---|
21 | <tr class="prop"> |
---|
22 | <td valign="top" class="name">Id:</td> |
---|
23 | |
---|
24 | <td valign="top" class="value">${fieldValue(bean:taskRecurringScheduleInstance, field:'id')}</td> |
---|
25 | |
---|
26 | </tr> |
---|
27 | |
---|
28 | <tr class="prop"> |
---|
29 | <td valign="top" class="name"> |
---|
30 | <label for="recForTask">Recurring Schedule for Task:</label> |
---|
31 | </td> |
---|
32 | <td valign="top" name="recForTask" class="value"> |
---|
33 | <g:link controller="taskDetailed" action="show" id="${taskRecurringScheduleInstance?.task?.id}">${taskRecurringScheduleInstance?.task?.encodeAsHTML()}</g:link> |
---|
34 | </td> |
---|
35 | </tr> |
---|
36 | |
---|
37 | <tr class="prop"> |
---|
38 | <td valign="top" class="name">Start Date:</td> |
---|
39 | |
---|
40 | <td valign="top" class="value"> |
---|
41 | <g:formatDate date="${taskRecurringScheduleInstance.startDate}" format="EEE, dd-MMM-yyyy"/> |
---|
42 | </td> |
---|
43 | </tr> |
---|
44 | |
---|
45 | <tr class="prop"> |
---|
46 | <td valign="top" class="name">Recur Every:</td> |
---|
47 | |
---|
48 | <td valign="top" class="value"> |
---|
49 | ${taskRecurringScheduleInstance?.recurEvery} ${taskRecurringScheduleInstance?.recurPeriod} |
---|
50 | </td> |
---|
51 | |
---|
52 | </tr> |
---|
53 | |
---|
54 | <tr class="prop"> |
---|
55 | <td valign="top" class="name">Task Duration:</td> |
---|
56 | |
---|
57 | <td valign="top" class="value"> |
---|
58 | ${taskRecurringScheduleInstance?.taskDuration} ${taskRecurringScheduleInstance?.taskDurationPeriod} |
---|
59 | </td> |
---|
60 | </tr> |
---|
61 | |
---|
62 | <tr class="prop"> |
---|
63 | <td valign="top" class="name">Generate Ahead:</td> |
---|
64 | |
---|
65 | <td valign="top" class="value"> |
---|
66 | ${taskRecurringScheduleInstance?.generateAhead} ${taskRecurringScheduleInstance?.generateAheadPeriod} |
---|
67 | </td> |
---|
68 | |
---|
69 | </tr> |
---|
70 | |
---|
71 | <tr class="prop"> |
---|
72 | <td valign="top" class="name">Is Enabled:</td> |
---|
73 | |
---|
74 | <td valign="top" class="value">${fieldValue(bean:taskRecurringScheduleInstance, field:'isEnabled')}</td> |
---|
75 | |
---|
76 | </tr> |
---|
77 | </tbody> |
---|
78 | </table> |
---|
79 | |
---|
80 | <table> |
---|
81 | <tbody> |
---|
82 | <tr class="prop"> |
---|
83 | <td valign="top" class="name">Next Target Start Date:</td> |
---|
84 | |
---|
85 | <td valign="top" class="value"> |
---|
86 | <g:formatDate date="${taskRecurringScheduleInstance.nextTargetStartDate}" format="EEE, dd-MMM-yyyy"/> |
---|
87 | </td> |
---|
88 | |
---|
89 | </tr> |
---|
90 | |
---|
91 | <tr class="prop"> |
---|
92 | <td valign="top" class="name">Next Target Completion Date:</td> |
---|
93 | |
---|
94 | <td valign="top" class="value"> |
---|
95 | <g:formatDate date="${taskRecurringScheduleInstance.nextTargetCompletionDate}" format="EEE, dd-MMM-yyyy"/> |
---|
96 | </td> |
---|
97 | |
---|
98 | </tr> |
---|
99 | |
---|
100 | <tr class="prop"> |
---|
101 | <td valign="top" class="name">Next Generation Date:</td> |
---|
102 | |
---|
103 | <td valign="top" class="value"> |
---|
104 | <g:formatDate date="${taskRecurringScheduleInstance.nextGenerationDate}" format="EEE, dd-MMM-yyyy"/> |
---|
105 | </td> |
---|
106 | </tr> |
---|
107 | |
---|
108 | <tr class="prop"> |
---|
109 | <td valign="top" class="name">Last Generated Date:</td> |
---|
110 | |
---|
111 | <td valign="top" class="value"> |
---|
112 | <g:formatDate date="${taskRecurringScheduleInstance.lastGeneratedDate}" format="EEE, dd-MMM-yyyy"/> |
---|
113 | </td> |
---|
114 | </tr> |
---|
115 | |
---|
116 | <tr class="prop"> |
---|
117 | <td valign="top" class="name">Last Generated Sub Task:</td> |
---|
118 | |
---|
119 | <td valign="top" class="value"> |
---|
120 | <g:link controller="taskDetailed" action="show" id="${taskRecurringScheduleInstance?.lastGeneratedSubTask?.id}"> |
---|
121 | ${taskRecurringScheduleInstance?.lastGeneratedSubTask?.encodeAsHTML()} |
---|
122 | </g:link> |
---|
123 | </td> |
---|
124 | |
---|
125 | </tr> |
---|
126 | |
---|
127 | </tbody> |
---|
128 | </table> |
---|
129 | </div> |
---|
130 | <div class="buttons"> |
---|
131 | <g:form> |
---|
132 | <input type="hidden" name="id" value="${taskRecurringScheduleInstance?.id}" /> |
---|
133 | <span class="button"><g:actionSubmit class="edit" value="Edit" /></span> |
---|
134 | <!-- <span class="button"><g:actionSubmit class="delete" onclick="return confirm('Are you sure?');" value="Delete" /></span> --> |
---|
135 | </g:form> |
---|
136 | </div> |
---|
137 | </div> |
---|
138 | </body> |
---|
139 | </html> |
---|