Ignore:
Timestamp:
Nov 25, 2010, 12:08:12 PM (13 years ago)
Author:
gav
Message:

Domain change: as per ticket #97 - Drop the entire Manufacturer domain concept.

Location:
trunk/grails-app/views/contactDetailed
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/views/contactDetailed/create.gsp

    r402 r722  
    2222                    <table>
    2323                        <tbody>
    24 
    25                             <g:if test="${contactInstance.manufacturer}">
    26                                 <g:hiddenField name="manufacturer.id" value="${contactInstance.manufacturer.id}"/>
    27                                 <tr class="prop">
    28                                     <td valign="top" class="name">
    29                                         <label for="manufacturer">Manufacturer:</label>
    30                                     </td>
    31                                     <td valign="top" class="value">
    32                                         <g:link controller="manufacturerDetailed" action="show" id="${contactInstance.manufacturer.id}">
    33                                             ${contactInstance.manufacturer.encodeAsHTML()}
    34                                         </g:link>
    35                                     </td>
    36                                 </tr>
    37                             </g:if>
    3824                           
    3925                            <g:if test="${contactInstance.supplier}">
  • trunk/grails-app/views/contactDetailed/edit.gsp

    r402 r722  
    2424                    <table>
    2525                        <tbody>
    26 
    27                             <g:if test="${contactInstance.manufacturer}">
    28                                 <g:hiddenField name="manufacturer.id" value="${contactInstance.manufacturer.id}"/>
    29                                 <tr class="prop">
    30                                     <td valign="top" class="name">
    31                                         <label for="manufacturer">Manufacturer:</label>
    32                                     </td>
    33                                     <td valign="top" class="value">
    34                                         <g:link controller="manufacturerDetailed" action="show" id="${contactInstance.manufacturer.id}">
    35                                             ${contactInstance.manufacturer.encodeAsHTML()}
    36                                         </g:link>
    37                                     </td>
    38                                 </tr>
    39                             </g:if>
    4026
    4127                            <g:if test="${contactInstance.supplier}">
  • trunk/grails-app/views/contactDetailed/show.gsp

    r402 r722  
    2121                            <td valign="top" class="value">${fieldValue(bean:contactInstance, field:'id')}</td>
    2222                        </tr>
    23 
    24                         <g:if test="${contactInstance.manufacturer}">
    25                             <tr class="prop">
    26                                 <td valign="top" class="name">Manufacturer:</td>
    27 
    28                                 <td valign="top" class="value"><g:link controller="manufacturerDetailed" action="show" id="${contactInstance.manufacturer.id}">${contactInstance.manufacturer.encodeAsHTML()}</g:link></td>
    29 
    30                             </tr>
    31                         </g:if>
    3223
    3324                        <g:if test="${contactInstance.supplier}">
Note: See TracChangeset for help on using the changeset viewer.