Ignore:
Timestamp:
May 4, 2009, 1:59:11 PM (16 years ago)
Author:
gav
Message:

Detail controller and views for Asset, AssetExtendedAttribute?, PlannedMaintenance?, MaintenanceAction?, RecurringSchedule?, SystemSection?.
Some minor work on Task controller and views.
Change PlannedMaintenance? relationship, adjust ERD, Bootstrap and Domain classes to suite.

Location:
trunk/grails-app/views/recurringScheduleDetailed
Files:
2 edited
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/views/recurringScheduleDetailed/edit.gsp

    r122 r124  
    7171                                </td>
    7272                                <td valign="top" class="value ${hasErrors(bean:recurringScheduleInstance,field:'startDate','errors')}">
    73                                     <g:datePicker name="startDate" value="${recurringScheduleInstance?.startDate}" ></g:datePicker>
     73                                    <g:datePicker name="startDate" value="${recurringScheduleInstance?.startDate}" precision="day" ></g:datePicker>
    7474                                </td>
    7575                            </tr>
  • trunk/grails-app/views/recurringScheduleDetailed/show.gsp

    r122 r124  
    3333                            <td valign="top" class="name">Planned Maintenance:</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"><g:link controller="plannedMaintenanceDetailed" action="show" id="${recurringScheduleInstance?.plannedMaintenance?.id}">${recurringScheduleInstance?.plannedMaintenance?.encodeAsHTML()}</g:link></td>
    3636                           
    3737                        </tr>
     
    4747                            <td valign="top" class="name">Period:</td>
    4848                           
    49                             <td valign="top" class="value"><g:link controller="period" action="show" id="${recurringScheduleInstance?.period?.id}">${recurringScheduleInstance?.period?.encodeAsHTML()}</g:link></td>
     49                            <td valign="top" class="value">${recurringScheduleInstance?.period?.encodeAsHTML()}</td>
    5050                           
    5151                        </tr>
     
    6161                            <td valign="top" class="name">Start Date:</td>
    6262                           
    63                             <td valign="top" class="value">${fieldValue(bean:recurringScheduleInstance, field:'startDate')}</td>
     63                            <td valign="top" class="value"><g:formatDate date="${recurringScheduleInstance.startDate}" format="EEE, dd MMM yyyy"/></td>
    6464                           
    6565                        </tr>
     
    6868                            <td valign="top" class="name">Task:</td>
    6969                           
    70                             <td valign="top" class="value"><g:link controller="task" action="show" id="${recurringScheduleInstance?.task?.id}">${recurringScheduleInstance?.task?.encodeAsHTML()}</g:link></td>
     70                            <td valign="top" class="value"><g:link controller="taskDetailed" action="show" id="${recurringScheduleInstance?.task?.id}">${recurringScheduleInstance?.task?.encodeAsHTML()}</g:link></td>
    7171                           
    7272                        </tr>
Note: See TracChangeset for help on using the changeset viewer.