Ignore:
Timestamp:
Feb 23, 2010, 2:07:15 PM (14 years ago)
Author:
gav
Message:

Add contacts to Person, Supplier, Manufacturer and Site.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/views/person/show.gsp

    r399 r402  
    4747                    <td valign="top" class="name">Description:</td>
    4848                    <td valign="top" class="value">${person.description?.encodeAsHTML()}</td>
     49                </tr>
     50
     51                <tr class="prop">
     52                    <td valign="top" class="name">Contact:</td>
     53
     54                    <td  valign="top" class="value">
     55                        <ul>
     56                        <g:each var="i" in="${person.contacts}">
     57                            <li><g:link controller="contactDetailed" action="show" id="${i.id}">${i?.encodeAsHTML()}</g:link></li>
     58                        </g:each>
     59                        </ul>
     60                    </td>
     61
    4962                </tr>
    5063
Note: See TracChangeset for help on using the changeset viewer.