Changeset 780


Ignore:
Timestamp:
Feb 4, 2011, 5:09:45 AM (8 years ago)
Author:
gav
Message:

Add assetTreeCompact template.

Location:
branches/features/taskProcedureRework/grails-app/views
Files:
1 added
2 edited

Legend:

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

    r776 r780  
    532532                                            <td valign="top" class="name">Linked Asset:</td>
    533533                                            <td valign="top" class="value">
    534                                                 ${fieldValue(bean:taskProcedureInstance, field:'linkedTask.primaryAsset')}
     534                                                <g:render template="/shared/assetTreeCompact" model="['assetInstance': taskProcedureInstance.linkedTask.primaryAsset]" />
    535535                                            </td>
    536536                                        </tr>
  • branches/features/taskProcedureRework/grails-app/views/taskProcedureDetailed/_taskProcedure.gsp

    r776 r780  
    2727                <td valign="top" class="name">Linked Asset:</td>
    2828                <td valign="top" class="value">
    29                     ${fieldValue(bean:taskProcedureInstance, field:'linkedTask.primaryAsset')}
     29                    <g:render template="/shared/assetTreeCompact" model="['assetInstance': taskProcedureInstance.linkedTask.primaryAsset]" />
    3030                </td>
    3131            </tr>
Note: See TracChangeset for help on using the changeset viewer.