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

    r118 r122  
    3131                   
    3232                        <tr class="prop">
    33                             <td valign="top" class="name">Asset Types:</td>
     33                            <td valign="top" class="name">Assets:</td>
    3434                           
    3535                            <td  valign="top" style="text-align:left;" class="value">
    3636                                <ul>
    37                                 <g:each var="a" in="${systemSectionInstance.assetTypes}">
    38                                     <li><g:link controller="assetType" action="show" id="${a.id}">${a?.encodeAsHTML()}</g:link></li>
     37                                <g:each var="a" in="${systemSectionInstance.assets}">
     38                                    <li><g:link controller="asset" action="show" id="${a.id}">${a?.encodeAsHTML()}</g:link></li>
    3939                                </g:each>
    4040                                </ul>
     
    5858                   
    5959                        <tr class="prop">
    60                             <td valign="top" class="name">Life Plans:</td>
     60                            <td valign="top" class="name">Maintenance Actions:</td>
    6161                           
    6262                            <td  valign="top" style="text-align:left;" class="value">
    6363                                <ul>
    64                                 <g:each var="l" in="${systemSectionInstance.lifePlans}">
    65                                     <li><g:link controller="lifePlan" action="show" id="${l.id}">${l?.encodeAsHTML()}</g:link></li>
     64                                <g:each var="m" in="${systemSectionInstance.maintenanceActions}">
     65                                    <li><g:link controller="maintenanceAction" action="show" id="${m.id}">${m?.encodeAsHTML()}</g:link></li>
    6666                                </g:each>
    6767                                </ul>
     
    7474                           
    7575                            <td valign="top" class="value">${fieldValue(bean:systemSectionInstance, field:'name')}</td>
     76                           
     77                        </tr>
     78                   
     79                        <tr class="prop">
     80                            <td valign="top" class="name">Site:</td>
     81                           
     82                            <td valign="top" class="value"><g:link controller="site" action="show" id="${systemSectionInstance?.site?.id}">${systemSectionInstance?.site?.encodeAsHTML()}</g:link></td>
    7683                           
    7784                        </tr>
Note: See TracChangeset for help on using the changeset viewer.