Ignore:
Timestamp:
Oct 22, 2009, 4:33:25 PM (15 years ago)
Author:
gav
Message:

Add costCode attribute to Asset and regen non-detailed controller and views, adjust detailed views to suite.

File:
1 edited

Legend:

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

    r139 r161  
    3636                   
    3737                        <tr class="prop">
     38                            <td valign="top" class="name">Description:</td>
     39                           
     40                            <td valign="top" class="value">${fieldValue(bean:assetInstance, field:'description')}</td>
     41                           
     42                        </tr>
     43                   
     44                        <tr class="prop">
     45                            <td valign="top" class="name">Cost Code:</td>
     46                           
     47                            <td valign="top" class="value">${fieldValue(bean:assetInstance, field:'costCode')}</td>
     48                           
     49                        </tr>
     50                   
     51                        <tr class="prop">
    3852                            <td valign="top" class="name">Asset Type:</td>
    3953                           
     
    6074                           
    6175                            <td valign="top" class="value"><g:link controller="systemSectionDetailed" action="show" id="${assetInstance?.systemSection?.id}">${assetInstance?.systemSection?.encodeAsHTML()}</g:link></td>
    62                            
    63                         </tr>
    64                    
    65                         <tr class="prop">
    66                             <td valign="top" class="name">Description:</td>
    67                            
    68                             <td valign="top" class="value">${fieldValue(bean:assetInstance, field:'description')}</td>
    6976                           
    7077                        </tr>
Note: See TracChangeset for help on using the changeset viewer.