Ignore:
Timestamp:
Jan 14, 2010, 10:51:03 PM (14 years ago)
Author:
gav
Message:

Refactor classes for asset tree refinement.
Regenerate views and controllers to suite.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/views/section/list.gsp

    r178 r268  
    55        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    66        <meta name="layout" content="main" />
    7         <title>SystemSection List</title>
     7        <title>Section List</title>
    88    </head>
    99    <body>
    1010        <div class="nav">
    11             <span class="menuButton"><g:link class="create" action="create">New SystemSection</g:link></span>
     11            <span class="menuButton"><g:link class="create" action="create">New Section</g:link></span>
    1212        </div>
    1313        <div class="body">
    14             <h1>SystemSection List</h1>
     14            <h1>Section List</h1>
    1515            <g:if test="${flash.message}">
    1616            <div class="message">${flash.message}</div>
     
    2323                                <g:sortableColumn property="id" title="Id" />
    2424                       
    25                                 <g:sortableColumn property="costCode" title="Cost Code" />
     25                                <g:sortableColumn property="name" title="Name" />
    2626                       
    27                                 <th>Department</th>
    28                            
    2927                                <g:sortableColumn property="description" title="Description" />
    3028                       
    3129                                <g:sortableColumn property="isActive" title="Is Active" />
    3230                       
    33                                 <g:sortableColumn property="name" title="Name" />
    34                        
     31                                <th>Department</th>
     32                           
     33                                <th>Site</th>
     34                           
    3535                        </tr>
    3636                    </thead>
    3737                    <tbody>
    38                     <g:each in="${systemSectionInstanceList}" status="i" var="systemSectionInstance">
     38                    <g:each in="${sectionInstanceList}" status="i" var="sectionInstance">
    3939                        <tr class="${(i % 2) == 0 ? 'odd' : 'even'}">
    4040                       
    41                             <td><g:link action="show" id="${systemSectionInstance.id}">${fieldValue(bean:systemSectionInstance, field:'id')}</g:link></td>
     41                            <td><g:link action="show" id="${sectionInstance.id}">${fieldValue(bean:sectionInstance, field:'id')}</g:link></td>
    4242                       
    43                             <td>${fieldValue(bean:systemSectionInstance, field:'costCode')}</td>
     43                            <td>${fieldValue(bean:sectionInstance, field:'name')}</td>
    4444                       
    45                             <td>${fieldValue(bean:systemSectionInstance, field:'department')}</td>
     45                            <td>${fieldValue(bean:sectionInstance, field:'description')}</td>
    4646                       
    47                             <td>${fieldValue(bean:systemSectionInstance, field:'description')}</td>
     47                            <td>${fieldValue(bean:sectionInstance, field:'isActive')}</td>
    4848                       
    49                             <td>${fieldValue(bean:systemSectionInstance, field:'isActive')}</td>
     49                            <td>${fieldValue(bean:sectionInstance, field:'department')}</td>
    5050                       
    51                             <td>${fieldValue(bean:systemSectionInstance, field:'name')}</td>
     51                            <td>${fieldValue(bean:sectionInstance, field:'site')}</td>
    5252                       
    5353                        </tr>
     
    5757            </div>
    5858            <div class="paginateButtons">
    59                 <g:paginate total="${systemSectionInstanceTotal}" />
     59                <g:paginate total="${sectionInstanceTotal}" />
    6060            </div>
    6161        </div>
Note: See TracChangeset for help on using the changeset viewer.