Ignore:
Timestamp:
May 4, 2009, 1:59:11 PM (15 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/plannedMaintenanceDetailed
Files:
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/views/plannedMaintenanceDetailed/list.gsp

    r122 r124  
    3131                       
    3232                                <th>Recurring Schedule</th>
     33
     34                            <th></th>
    3335                           
    3436                        </tr>
     
    3638                    <tbody>
    3739                    <g:each in="${plannedMaintenanceInstanceList}" status="i" var="plannedMaintenanceInstance">
    38                         <tr class="${(i % 2) == 0 ? 'odd' : 'even'}">
     40                        <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}" onclick='window.location = "${request.getContextPath()}/plannedMaintenanceDetailed/show/${plannedMaintenanceInstance.id}"'/>
     41
    3942                       
    4043                            <td><g:link action="show" id="${plannedMaintenanceInstance.id}">${fieldValue(bean:plannedMaintenanceInstance, field:'id')}</g:link></td>
     
    4750                       
    4851                            <td>${fieldValue(bean:plannedMaintenanceInstance, field:'recurringSchedule')}</td>
    49                        
     52
     53                            <td>
     54                                <g:link action="show" id="${plannedMaintenanceInstance.id}">
     55                                    <img  src="${createLinkTo(dir:'images/skin',file:'database_table.png')}" alt="Show" />
     56                                </g:link>
     57                            </td>
     58
    5059                        </tr>
    5160                    </g:each>
Note: See TracChangeset for help on using the changeset viewer.