Ignore:
Timestamp:
May 8, 2009, 1:01:56 AM (16 years ago)
Author:
gav
Message:

Reconfigure Planned Maintenance again, now Preventative Maintenance, TaskProcedure? and MaintenanceAction?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/views/taskRecurringSchedule/list.gsp

    r123 r131  
    55        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    66        <meta name="layout" content="main" />
    7         <title>RecurringSchedule List</title>
     7        <title>TaskRecurringSchedule List</title>
    88    </head>
    99    <body>
    1010        <div class="nav">
    1111            <span class="menuButton"><a class="home" href="${createLinkTo(dir:'')}">Home</a></span>
    12             <span class="menuButton"><g:link class="create" action="create">New RecurringSchedule</g:link></span>
     12            <span class="menuButton"><g:link class="create" action="create">New TaskRecurringSchedule</g:link></span>
    1313        </div>
    1414        <div class="body">
    15             <h1>RecurringSchedule List</h1>
     15            <h1>TaskRecurringSchedule List</h1>
    1616            <g:if test="${flash.message}">
    1717            <div class="message">${flash.message}</div>
     
    2424                                <g:sortableColumn property="id" title="Id" />
    2525                       
    26                                 <th>Planned Maintenance</th>
     26                                <g:sortableColumn property="lastGeneratedDate" title="Last Generated Date" />
     27                       
     28                                <th>Last Generated Sub Task</th>
    2729                           
    28                                 <g:sortableColumn property="lastExecutedDate" title="Last Executed Date" />
     30                                <g:sortableColumn property="isEnabled" title="Is Enabled" />
    2931                       
    3032                                <g:sortableColumn property="nextDueDate" title="Next Due Date" />
    31                        
    32                                 <g:sortableColumn property="isActive" title="Is Active" />
    3333                       
    3434                                <th>Period</th>
     
    3737                    </thead>
    3838                    <tbody>
    39                     <g:each in="${recurringScheduleInstanceList}" status="i" var="recurringScheduleInstance">
     39                    <g:each in="${taskRecurringScheduleInstanceList}" status="i" var="taskRecurringScheduleInstance">
    4040                        <tr class="${(i % 2) == 0 ? 'odd' : 'even'}">
    4141                       
    42                             <td><g:link action="show" id="${recurringScheduleInstance.id}">${fieldValue(bean:recurringScheduleInstance, field:'id')}</g:link></td>
     42                            <td><g:link action="show" id="${taskRecurringScheduleInstance.id}">${fieldValue(bean:taskRecurringScheduleInstance, field:'id')}</g:link></td>
    4343                       
    44                             <td>${fieldValue(bean:recurringScheduleInstance, field:'plannedMaintenance')}</td>
     44                            <td>${fieldValue(bean:taskRecurringScheduleInstance, field:'lastGeneratedDate')}</td>
    4545                       
    46                             <td>${fieldValue(bean:recurringScheduleInstance, field:'lastExecutedDate')}</td>
     46                            <td>${fieldValue(bean:taskRecurringScheduleInstance, field:'lastGeneratedSubTask')}</td>
    4747                       
    48                             <td>${fieldValue(bean:recurringScheduleInstance, field:'nextDueDate')}</td>
     48                            <td>${fieldValue(bean:taskRecurringScheduleInstance, field:'isEnabled')}</td>
    4949                       
    50                             <td>${fieldValue(bean:recurringScheduleInstance, field:'isActive')}</td>
     50                            <td>${fieldValue(bean:taskRecurringScheduleInstance, field:'nextDueDate')}</td>
    5151                       
    52                             <td>${fieldValue(bean:recurringScheduleInstance, field:'period')}</td>
     52                            <td>${fieldValue(bean:taskRecurringScheduleInstance, field:'period')}</td>
    5353                       
    5454                        </tr>
     
    5858            </div>
    5959            <div class="paginateButtons">
    60                 <g:paginate total="${recurringScheduleInstanceTotal}" />
     60                <g:paginate total="${taskRecurringScheduleInstanceTotal}" />
    6161            </div>
    6262        </div>
Note: See TracChangeset for help on using the changeset viewer.