Changeset 402 for trunk/grails-app/views
- Timestamp:
- Feb 23, 2010, 2:07:15 PM (15 years ago)
- Location:
- trunk/grails-app/views
- Files:
-
- 5 added
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/manufacturerDetailed/edit.gsp
r397 r402 66 66 <tr class="prop"> 67 67 <td valign="top" class="name"> 68 <label for="addresses">Contact:</label> 69 </td> 70 <td valign="top" class="value"> 71 <ul> 72 <g:each var="i" in="${manufacturerInstance?.contacts}"> 73 <li><g:link controller="contactDetailed" action="show" id="${i.id}"> 74 ${i?.encodeAsHTML()} 75 </g:link></li> 76 </g:each> 77 </ul> 78 <g:link controller="contactDetailed" params="['manufacturer.id':manufacturerInstance?.id]" action="create">+Add Contact</g:link> 79 </td> 80 </tr> 81 82 <tr class="prop"> 83 <td valign="top" class="name"> 68 84 <label for="addresses">Addresses:</label> 69 85 </td> … … 76 92 </g:each> 77 93 </ul> 78 <g:link controller="addressDetailed" params="['manufacturer.id':manufacturerInstance?.id]" action="create"> Add Address</g:link>94 <g:link controller="addressDetailed" params="['manufacturer.id':manufacturerInstance?.id]" action="create">+Add Address</g:link> 79 95 </td> 80 96 </tr> -
trunk/grails-app/views/manufacturerDetailed/show.gsp
r397 r402 55 55 56 56 </tr> 57 58 <tr class="prop"> 59 <td valign="top" class="name">Contact:</td> 60 61 <td valign="top" class="value"> 62 <ul> 63 <g:each var="i" in="${manufacturerInstance.contacts}"> 64 <li><g:link controller="contactDetailed" action="show" id="${i.id}">${i?.encodeAsHTML()}</g:link></li> 65 </g:each> 66 </ul> 67 </td> 68 69 </tr> 70 57 71 58 72 <tr class="prop"> -
trunk/grails-app/views/person/edit.gsp
r399 r402 85 85 <tr class="prop"> 86 86 <td valign="top" class="name"> 87 <label for="addresses">Contact:</label> 88 </td> 89 <td valign="top" class="value"> 90 <ul> 91 <g:each var="i" in="${person?.contacts}"> 92 <li><g:link controller="contactDetailed" action="show" id="${i.id}"> 93 ${i?.encodeAsHTML()} 94 </g:link></li> 95 </g:each> 96 </ul> 97 <g:link controller="contactDetailed" params="['person.id':person?.id]" action="create">+Add Contact</g:link> 98 </td> 99 </tr> 100 101 <tr class="prop"> 102 <td valign="top" class="name"> 87 103 <label for="addresses">Addresses:</label> 88 104 </td> 89 105 <td valign="top" class="value"> 90 106 <ul> 91 <g:each var="i" in="${person?.addresses ?}">107 <g:each var="i" in="${person?.addresses}"> 92 108 <li><g:link controller="addressDetailed" action="show" id="${i.id}"> 93 109 ${i?.encodeAsHTML()} … … 95 111 </g:each> 96 112 </ul> 97 <g:link controller="addressDetailed" params="['person.id':person?.id]" action="create"> Add Address</g:link>113 <g:link controller="addressDetailed" params="['person.id':person?.id]" action="create">+Add Address</g:link> 98 114 </td> 99 115 </tr> -
trunk/grails-app/views/person/show.gsp
r399 r402 47 47 <td valign="top" class="name">Description:</td> 48 48 <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 49 62 </tr> 50 63 -
trunk/grails-app/views/siteDetailed/edit.gsp
r397 r402 77 77 </td> 78 78 </tr> 79 79 80 <tr class="prop"> 81 <td valign="top" class="name"> 82 <label for="addresses">Contact:</label> 83 </td> 84 <td valign="top" class="value"> 85 <ul> 86 <g:each var="i" in="${siteInstance?.contacts}"> 87 <li><g:link controller="contactDetailed" action="show" id="${i.id}"> 88 ${i?.encodeAsHTML()} 89 </g:link></li> 90 </g:each> 91 </ul> 92 <g:link controller="contactDetailed" params="['site.id':siteInstance?.id]" action="create">+Add Contact</g:link> 93 </td> 94 </tr> 95 80 96 <tr class="prop"> 81 97 <td valign="top" class="name"> … … 89 105 </g:each> 90 106 </ul> 91 <g:link controller="addressDetailed" params="['site.id':siteInstance?.id]" action="create"> Add Address</g:link>107 <g:link controller="addressDetailed" params="['site.id':siteInstance?.id]" action="create">+Add Address</g:link> 92 108 93 109 </td> -
trunk/grails-app/views/siteDetailed/show.gsp
r397 r402 66 66 67 67 </tr> 68 69 <tr class="prop"> 70 <td valign="top" class="name">Contact:</td> 71 72 <td valign="top" class="value"> 73 <ul> 74 <g:each var="i" in="${siteInstance.contacts}"> 75 <li><g:link controller="contactDetailed" action="show" id="${i.id}">${i?.encodeAsHTML()}</g:link></li> 76 </g:each> 77 </ul> 78 </td> 79 80 </tr> 68 81 69 82 <tr class="prop"> -
trunk/grails-app/views/supplierDetailed/edit.gsp
r397 r402 66 66 <tr class="prop"> 67 67 <td valign="top" class="name"> 68 <label for="addresses">Contact:</label> 69 </td> 70 <td valign="top" class="value"> 71 <ul> 72 <g:each var="i" in="${supplierInstance?.contacts}"> 73 <li><g:link controller="contactDetailed" action="show" id="${i.id}"> 74 ${i?.encodeAsHTML()} 75 </g:link></li> 76 </g:each> 77 </ul> 78 <g:link controller="contactDetailed" params="['supplier.id':supplierInstance?.id]" action="create">+Add Contact</g:link> 79 </td> 80 </tr> 81 82 <tr class="prop"> 83 <td valign="top" class="name"> 68 84 <label for="addresses">Addresses:</label> 69 85 </td> … … 76 92 </g:each> 77 93 </ul> 78 <g:link controller="addressDetailed" params="['supplier.id':supplierInstance?.id]" action="create"> Add Address</g:link>94 <g:link controller="addressDetailed" params="['supplier.id':supplierInstance?.id]" action="create">+Add Address</g:link> 79 95 </td> 80 96 </tr> -
trunk/grails-app/views/supplierDetailed/show.gsp
r397 r402 55 55 56 56 </tr> 57 57 58 <tr class="prop"> 59 <td valign="top" class="name">Contact:</td> 60 61 <td valign="top" class="value"> 62 <ul> 63 <g:each var="i" in="${supplierInstance.contacts}"> 64 <li><g:link controller="contactDetailed" action="show" id="${i.id}">${i?.encodeAsHTML()}</g:link></li> 65 </g:each> 66 </ul> 67 </td> 68 69 </tr> 70 58 71 <tr class="prop"> 59 72 <td valign="top" class="name">Addresses:</td>
Note: See TracChangeset
for help on using the changeset viewer.