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

Legend:

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

    r122 r124  
    3838<ul>
    3939<g:each var="a" in="${systemSectionInstance?.assets?}">
    40     <li><g:link controller="asset" action="show" id="${a.id}">${a?.encodeAsHTML()}</g:link></li>
     40    <li><g:link controller="assetDetailed" action="show" id="${a.id}">${a?.encodeAsHTML()}</g:link></li>
    4141</g:each>
    4242</ul>
    43 <g:link controller="asset" params="['systemSection.id':systemSectionInstance?.id]" action="create">Add Asset</g:link>
     43<g:link controller="assetDetailed" params="['systemSection.id':systemSectionInstance?.id]" action="create">Add Asset</g:link>
    4444
    4545                                </td>
     
    7272<ul>
    7373<g:each var="m" in="${systemSectionInstance?.maintenanceActions?}">
    74     <li><g:link controller="maintenanceAction" action="show" id="${m.id}">${m?.encodeAsHTML()}</g:link></li>
     74    <li><g:link controller="maintenanceActionDetailed" action="show" id="${m.id}">${m?.encodeAsHTML()}</g:link></li>
    7575</g:each>
    7676</ul>
    77 <g:link controller="maintenanceAction" params="['systemSection.id':systemSectionInstance?.id]" action="create">Add MaintenanceAction</g:link>
     77<g:link controller="maintenanceActionDetailed" params="['systemSection.id':systemSectionInstance?.id]" action="create">Add MaintenanceAction</g:link>
    7878
    7979                                </td>
  • trunk/grails-app/views/systemSectionDetailed/show.gsp

    r122 r124  
    3636                                <ul>
    3737                                <g:each var="a" in="${systemSectionInstance.assets}">
    38                                     <li><g:link controller="asset" action="show" id="${a.id}">${a?.encodeAsHTML()}</g:link></li>
     38                                    <li><g:link controller="assetDetailed" action="show" id="${a.id}">${a?.encodeAsHTML()}</g:link></li>
    3939                                </g:each>
    4040                                </ul>
     
    6363                                <ul>
    6464                                <g:each var="m" in="${systemSectionInstance.maintenanceActions}">
    65                                     <li><g:link controller="maintenanceAction" action="show" id="${m.id}">${m?.encodeAsHTML()}</g:link></li>
     65                                    <li><g:link controller="maintenanceActionDetailed" action="show" id="${m.id}">${m?.encodeAsHTML()}</g:link></li>
    6666                                </g:each>
    6767                                </ul>
Note: See TracChangeset for help on using the changeset viewer.