Ignore:
Timestamp:
May 1, 2009, 3:27:41 PM (15 years ago)
Author:
gav
Message:

Run generate-all on all controllers and views except Person and Authority.
Extensive work on Asset domain and application now compiles and runs well.
Update BootStrap? to suite.

File:
1 edited

Legend:

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

    r118 r122  
    5252                   
    5353                        <tr class="prop">
    54                             <td valign="top" class="name">Lifeplan:</td>
     54                            <td valign="top" class="name">Maintenance Actions:</td>
    5555                           
    56                             <td valign="top" class="value"><g:link controller="lifePlan" action="show" id="${assetInstance?.lifeplan?.id}">${assetInstance?.lifeplan?.encodeAsHTML()}</g:link></td>
    57                            
    58                         </tr>
    59                    
    60                         <tr class="prop">
    61                             <td valign="top" class="name">Location Long Text:</td>
    62                            
    63                             <td valign="top" class="value">${fieldValue(bean:assetInstance, field:'locationLongText')}</td>
    64                            
    65                         </tr>
    66                    
    67                         <tr class="prop">
    68                             <td valign="top" class="name">Manufactured Date:</td>
    69                            
    70                             <td valign="top" class="value">${fieldValue(bean:assetInstance, field:'manufacturedDate')}</td>
    71                            
    72                         </tr>
    73                    
    74                         <tr class="prop">
    75                             <td valign="top" class="name">Model Number:</td>
    76                            
    77                             <td valign="top" class="value">${fieldValue(bean:assetInstance, field:'modelNumber')}</td>
     56                            <td  valign="top" style="text-align:left;" class="value">
     57                                <ul>
     58                                <g:each var="m" in="${assetInstance.maintenanceActions}">
     59                                    <li><g:link controller="maintenanceAction" action="show" id="${m.id}">${m?.encodeAsHTML()}</g:link></li>
     60                                </g:each>
     61                                </ul>
     62                            </td>
    7863                           
    7964                        </tr>
     
    8772                   
    8873                        <tr class="prop">
    89                             <td valign="top" class="name">Purchase Cost:</td>
     74                            <td valign="top" class="name">System Section:</td>
    9075                           
    91                             <td valign="top" class="value">${fieldValue(bean:assetInstance, field:'purchaseCost')}</td>
    92                            
    93                         </tr>
    94                    
    95                         <tr class="prop">
    96                             <td valign="top" class="name">Risk Priority Number:</td>
    97                            
    98                             <td valign="top" class="value">${fieldValue(bean:assetInstance, field:'riskPriorityNumber')}</td>
    99                            
    100                         </tr>
    101                    
    102                         <tr class="prop">
    103                             <td valign="top" class="name">Serial Number:</td>
    104                            
    105                             <td valign="top" class="value">${fieldValue(bean:assetInstance, field:'serialNumber')}</td>
     76                            <td valign="top" class="value"><g:link controller="systemSection" action="show" id="${assetInstance?.systemSection?.id}">${assetInstance?.systemSection?.encodeAsHTML()}</g:link></td>
    10677                           
    10778                        </tr>
Note: See TracChangeset for help on using the changeset viewer.