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/show.gsp

    r123 r131  
    55        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    66        <meta name="layout" content="main" />
    7         <title>Show RecurringSchedule</title>
     7        <title>Show TaskRecurringSchedule</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="list" action="list">RecurringSchedule List</g:link></span>
    13             <span class="menuButton"><g:link class="create" action="create">New RecurringSchedule</g:link></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>
    1414        </div>
    1515        <div class="body">
    16             <h1>Show RecurringSchedule</h1>
     16            <h1>Show TaskRecurringSchedule</h1>
    1717            <g:if test="${flash.message}">
    1818            <div class="message">${flash.message}</div>
     
    2626                            <td valign="top" class="name">Id:</td>
    2727                           
    28                             <td valign="top" class="value">${fieldValue(bean:recurringScheduleInstance, field:'id')}</td>
     28                            <td valign="top" class="value">${fieldValue(bean:taskRecurringScheduleInstance, field:'id')}</td>
    2929                           
    3030                        </tr>
    3131                   
    3232                        <tr class="prop">
    33                             <td valign="top" class="name">Planned Maintenance:</td>
     33                            <td valign="top" class="name">Last Generated Date:</td>
    3434                           
    35                             <td valign="top" class="value"><g:link controller="plannedMaintenance" action="show" id="${recurringScheduleInstance?.plannedMaintenance?.id}">${recurringScheduleInstance?.plannedMaintenance?.encodeAsHTML()}</g:link></td>
     35                            <td valign="top" class="value">${fieldValue(bean:taskRecurringScheduleInstance, field:'lastGeneratedDate')}</td>
    3636                           
    3737                        </tr>
    3838                   
    3939                        <tr class="prop">
    40                             <td valign="top" class="name">Last Executed Date:</td>
     40                            <td valign="top" class="name">Last Generated Sub Task:</td>
    4141                           
    42                             <td valign="top" class="value">${fieldValue(bean:recurringScheduleInstance, field:'lastExecutedDate')}</td>
     42                            <td valign="top" class="value"><g:link controller="task" action="show" id="${taskRecurringScheduleInstance?.lastGeneratedSubTask?.id}">${taskRecurringScheduleInstance?.lastGeneratedSubTask?.encodeAsHTML()}</g:link></td>
     43                           
     44                        </tr>
     45                   
     46                        <tr class="prop">
     47                            <td valign="top" class="name">Is Enabled:</td>
     48                           
     49                            <td valign="top" class="value">${fieldValue(bean:taskRecurringScheduleInstance, field:'isEnabled')}</td>
    4350                           
    4451                        </tr>
     
    4754                            <td valign="top" class="name">Next Due Date:</td>
    4855                           
    49                             <td valign="top" class="value">${fieldValue(bean:recurringScheduleInstance, field:'nextDueDate')}</td>
    50                            
    51                         </tr>
    52                    
    53                         <tr class="prop">
    54                             <td valign="top" class="name">Is Active:</td>
    55                            
    56                             <td valign="top" class="value">${fieldValue(bean:recurringScheduleInstance, field:'isActive')}</td>
     56                            <td valign="top" class="value">${fieldValue(bean:taskRecurringScheduleInstance, field:'nextDueDate')}</td>
    5757                           
    5858                        </tr>
     
    6161                            <td valign="top" class="name">Period:</td>
    6262                           
    63                             <td valign="top" class="value"><g:link controller="period" action="show" id="${recurringScheduleInstance?.period?.id}">${recurringScheduleInstance?.period?.encodeAsHTML()}</g:link></td>
     63                            <td valign="top" class="value"><g:link controller="period" action="show" id="${taskRecurringScheduleInstance?.period?.id}">${taskRecurringScheduleInstance?.period?.encodeAsHTML()}</g:link></td>
    6464                           
    6565                        </tr>
     
    6868                            <td valign="top" class="name">Recur Every:</td>
    6969                           
    70                             <td valign="top" class="value">${fieldValue(bean:recurringScheduleInstance, field:'recurEvery')}</td>
     70                            <td valign="top" class="value">${fieldValue(bean:taskRecurringScheduleInstance, field:'recurEvery')}</td>
    7171                           
    7272                        </tr>
     
    7575                            <td valign="top" class="name">Start Date:</td>
    7676                           
    77                             <td valign="top" class="value">${fieldValue(bean:recurringScheduleInstance, field:'startDate')}</td>
     77                            <td valign="top" class="value">${fieldValue(bean:taskRecurringScheduleInstance, field:'startDate')}</td>
    7878                           
    7979                        </tr>
     
    8282                            <td valign="top" class="name">Task:</td>
    8383                           
    84                             <td valign="top" class="value"><g:link controller="task" action="show" id="${recurringScheduleInstance?.task?.id}">${recurringScheduleInstance?.task?.encodeAsHTML()}</g:link></td>
     84                            <td valign="top" class="value"><g:link controller="task" action="show" id="${taskRecurringScheduleInstance?.task?.id}">${taskRecurringScheduleInstance?.task?.encodeAsHTML()}</g:link></td>
    8585                           
    8686                        </tr>
     
    9191            <div class="buttons">
    9292                <g:form>
    93                     <input type="hidden" name="id" value="${recurringScheduleInstance?.id}" />
     93                    <input type="hidden" name="id" value="${taskRecurringScheduleInstance?.id}" />
    9494                    <span class="button"><g:actionSubmit class="edit" value="Edit" /></span>
    9595                    <span class="button"><g:actionSubmit class="delete" onclick="return confirm('Are you sure?');" value="Delete" /></span>
Note: See TracChangeset for help on using the changeset viewer.