Changeset 785


Ignore:
Timestamp:
Feb 4, 2011, 9:58:45 PM (13 years ago)
Author:
gav
Message:

Show the assemblies parentItem (machine) in the procedure show tab, part 2.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/features/taskProcedureRework/grails-app/views/taskDetailed/show.gsp

    r784 r785  
    580580
    581581                                                <td  valign="top" style="text-align:left;" class="value">
    582                                                     ${maintenanceAction.assetSubItem.parentItem?.encodeAsHTML()}
    583                                                     --
    584                                                     ${maintenanceAction.assetSubItem.encodeAsHTML()}
     582                                                    <g:if test="${maintenanceAction.assetSubItem}">
     583                                                        ${maintenanceAction.assetSubItem.parentItem?.encodeAsHTML()}
     584                                                        --
     585                                                        ${maintenanceAction.assetSubItem.encodeAsHTML()}
     586                                                    </g:if>
    585587                                                </td>
    586588
Note: See TracChangeset for help on using the changeset viewer.