source: trunk/grails-app/views/taskRecurringScheduleDetailed/show.gsp @ 137

Last change on this file since 137 was 137, checked in by gav, 15 years ago

Update to grails-1.1.1 release.
Fix WorkDone? and Fault entries not showing after update, now using criteria.
Work on TaskRecurringSchedule, add DateUtilService class, regenerate views to suite.
Finally have correct rollback behaviour on TaskRecurringSchedule? domain object updates by using transactions.
Added name to copyright since the license has no meaning without it.

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