Ignore:
Timestamp:
Feb 7, 2011, 3:43:55 PM (13 years ago)
Author:
gav
Message:

Domain change, add DocumentReference.

File:
1 edited

Legend:

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

    r788 r793  
    561561                            </div>
    562562
     563                            <br />
     564
     565                            <g:if test="${taskProcedureInstance.documentReferences}">
     566                                <div class="list">
     567                                    <table>
     568                                        <thead>
     569                                            <tr>
     570                                                <th>Document Reference</th>
     571                                                <th>Location</th>
     572                                            </tr>
     573                                        </thead>
     574                                        <tbody>
     575                                            <g:each in="${taskProcedureInstance.documentReferences}" status="i" var="docRef">
     576                                                <tr class="${(i % 2) == 0 ? 'odd' : 'even'}">
     577
     578                                                    <td valign="top" class="name">
     579                                                        ${fieldValue(bean:docRef, field:'name')}
     580                                                    </td>
     581
     582                                                    <td  valign="top" style="text-align:left;" class="value">
     583                                                        ${fieldValue(bean:docRef, field:'location')}
     584                                                    </td>
     585
     586                                                </tr>
     587                                            </g:each>
     588
     589                                        </tbody>
     590                                    </table>
     591                                </div>
     592                            </g:if>
     593
     594                            <br />
     595
    563596                            <div class="list">
    564597                                <table>
Note: See TracChangeset for help on using the changeset viewer.