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/maintenanceActionDetailed
Files:
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/views/maintenanceActionDetailed/show.gsp

    r122 r124  
    3333                            <td valign="top" class="name">System Section:</td>
    3434                           
    35                             <td valign="top" class="value"><g:link controller="systemSection" action="show" id="${maintenanceActionInstance?.systemSection?.id}">${maintenanceActionInstance?.systemSection?.encodeAsHTML()}</g:link></td>
     35                            <td valign="top" class="value"><g:link controller="systemSectionDetailed" action="show" id="${maintenanceActionInstance?.systemSection?.id}">${maintenanceActionInstance?.systemSection?.encodeAsHTML()}</g:link></td>
    3636                           
    3737                        </tr>
     
    4040                            <td valign="top" class="name">Asset:</td>
    4141                           
    42                             <td valign="top" class="value"><g:link controller="asset" action="show" id="${maintenanceActionInstance?.asset?.id}">${maintenanceActionInstance?.asset?.encodeAsHTML()}</g:link></td>
     42                            <td valign="top" class="value"><g:link controller="assetDetailed" action="show" id="${maintenanceActionInstance?.asset?.id}">${maintenanceActionInstance?.asset?.encodeAsHTML()}</g:link></td>
    4343                           
    4444                        </tr>
     
    4747                            <td valign="top" class="name">Asset Type:</td>
    4848                           
    49                             <td valign="top" class="value"><g:link controller="assetType" action="show" id="${maintenanceActionInstance?.assetType?.id}">${maintenanceActionInstance?.assetType?.encodeAsHTML()}</g:link></td>
     49                            <td valign="top" class="value"><g:link controller="assetTypeDetailed" action="show" id="${maintenanceActionInstance?.assetType?.id}">${maintenanceActionInstance?.assetType?.encodeAsHTML()}</g:link></td>
    5050                           
    5151                        </tr>
     
    5454                            <td valign="top" class="name">Assembly:</td>
    5555                           
    56                             <td valign="top" class="value"><g:link controller="assembly" action="show" id="${maintenanceActionInstance?.assembly?.id}">${maintenanceActionInstance?.assembly?.encodeAsHTML()}</g:link></td>
     56                            <td valign="top" class="value"><g:link controller="assemblyDetailed" action="show" id="${maintenanceActionInstance?.assembly?.id}">${maintenanceActionInstance?.assembly?.encodeAsHTML()}</g:link></td>
    5757                           
    5858                        </tr>
     
    6161                            <td valign="top" class="name">Sub Assembly:</td>
    6262                           
    63                             <td valign="top" class="value"><g:link controller="subAssembly" action="show" id="${maintenanceActionInstance?.subAssembly?.id}">${maintenanceActionInstance?.subAssembly?.encodeAsHTML()}</g:link></td>
     63                            <td valign="top" class="value"><g:link controller="subAssemblyDetailed" action="show" id="${maintenanceActionInstance?.subAssembly?.id}">${maintenanceActionInstance?.subAssembly?.encodeAsHTML()}</g:link></td>
    6464                           
    6565                        </tr>
     
    6868                            <td valign="top" class="name">Component Item:</td>
    6969                           
    70                             <td valign="top" class="value"><g:link controller="componentItem" action="show" id="${maintenanceActionInstance?.componentItem?.id}">${maintenanceActionInstance?.componentItem?.encodeAsHTML()}</g:link></td>
     70                            <td valign="top" class="value"><g:link controller="componentItemDetailed" action="show" id="${maintenanceActionInstance?.componentItem?.id}">${maintenanceActionInstance?.componentItem?.encodeAsHTML()}</g:link></td>
    7171                           
    7272                        </tr>
    7373                   
    7474                        <tr class="prop">
    75                             <td valign="top" class="name">Description:</td>
     75                            <td valign="top" class="name">Maintenance Action:</td>
    7676                           
    77                             <td valign="top" class="value">${fieldValue(bean:maintenanceActionInstance, field:'description')}</td>
     77                            <td valign="top" class="value">${fieldValue(bean:maintenanceActionInstance, field:'maintenanceAction')}</td>
    7878                           
    7979                        </tr>
     
    8989                            <td valign="top" class="name">Maintenance Policy:</td>
    9090                           
    91                             <td valign="top" class="value"><g:link controller="maintenancePolicy" action="show" id="${maintenanceActionInstance?.maintenancePolicy?.id}">${maintenanceActionInstance?.maintenancePolicy?.encodeAsHTML()}</g:link></td>
     91                            <td valign="top" class="value">${maintenanceActionInstance?.maintenancePolicy?.encodeAsHTML()}</td>
     92                           
     93                        </tr>
     94                   
     95                        <tr class="prop">
     96                            <td valign="top" class="name">PM Step Number:</td>
     97                           
     98                            <td valign="top" class="value">${maintenanceActionInstance?.pmStepNumber?.encodeAsHTML()}</td>
    9299                           
    93100                        </tr>
     
    96103                            <td valign="top" class="name">Planned Maintenance:</td>
    97104                           
    98                             <td valign="top" class="value"><g:link controller="plannedMaintenance" action="show" id="${maintenanceActionInstance?.plannedMaintenance?.id}">${maintenanceActionInstance?.plannedMaintenance?.encodeAsHTML()}</g:link></td>
     105                            <td valign="top" class="value"><g:link controller="plannedMaintenanceDetailed" action="show" id="${maintenanceActionInstance?.plannedMaintenance?.id}">${maintenanceActionInstance?.plannedMaintenance?.encodeAsHTML()}</g:link></td>
    99106                           
    100107                        </tr>
Note: See TracChangeset for help on using the changeset viewer.