Ignore:
Timestamp:
Oct 22, 2009, 8:26:09 PM (15 years ago)
Author:
gav
Message:

Add Department domain class, controller, views and demo data.
Add costCode and department attributes to SystemSection? and regen non-detailed controller and views, adjust detailed views to suite.

File:
1 edited

Legend:

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

    r151 r162  
    4040                                </ul>
    4141                            </td>
     42                           
     43                        </tr>
     44                   
     45                        <tr class="prop">
     46                            <td valign="top" class="name">Cost Code:</td>
     47                           
     48                            <td valign="top" class="value">${fieldValue(bean:systemSectionInstance, field:'costCode')}</td>
     49                           
     50                        </tr>
     51                   
     52                        <tr class="prop">
     53                            <td valign="top" class="name">Department:</td>
     54                           
     55                            <td valign="top" class="value"><g:link controller="department" action="show" id="${systemSectionInstance?.department?.id}">${systemSectionInstance?.department?.encodeAsHTML()}</g:link></td>
    4256                           
    4357                        </tr>
Note: See TracChangeset for help on using the changeset viewer.