Changeset 268 for trunk/grails-app/views/section/list.gsp
- Timestamp:
- Jan 14, 2010, 10:51:03 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/section/list.gsp
r178 r268 5 5 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> 6 6 <meta name="layout" content="main" /> 7 <title>S ystemSection List</title>7 <title>Section List</title> 8 8 </head> 9 9 <body> 10 10 <div class="nav"> 11 <span class="menuButton"><g:link class="create" action="create">New S ystemSection</g:link></span>11 <span class="menuButton"><g:link class="create" action="create">New Section</g:link></span> 12 12 </div> 13 13 <div class="body"> 14 <h1>S ystemSection List</h1>14 <h1>Section List</h1> 15 15 <g:if test="${flash.message}"> 16 16 <div class="message">${flash.message}</div> … … 23 23 <g:sortableColumn property="id" title="Id" /> 24 24 25 <g:sortableColumn property=" costCode" title="Cost Code" />25 <g:sortableColumn property="name" title="Name" /> 26 26 27 <th>Department</th>28 29 27 <g:sortableColumn property="description" title="Description" /> 30 28 31 29 <g:sortableColumn property="isActive" title="Is Active" /> 32 30 33 <g:sortableColumn property="name" title="Name" /> 34 31 <th>Department</th> 32 33 <th>Site</th> 34 35 35 </tr> 36 36 </thead> 37 37 <tbody> 38 <g:each in="${s ystemSectionInstanceList}" status="i" var="systemSectionInstance">38 <g:each in="${sectionInstanceList}" status="i" var="sectionInstance"> 39 39 <tr class="${(i % 2) == 0 ? 'odd' : 'even'}"> 40 40 41 <td><g:link action="show" id="${s ystemSectionInstance.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> 42 42 43 <td>${fieldValue(bean:s ystemSectionInstance, field:'costCode')}</td>43 <td>${fieldValue(bean:sectionInstance, field:'name')}</td> 44 44 45 <td>${fieldValue(bean:s ystemSectionInstance, field:'department')}</td>45 <td>${fieldValue(bean:sectionInstance, field:'description')}</td> 46 46 47 <td>${fieldValue(bean:s ystemSectionInstance, field:'description')}</td>47 <td>${fieldValue(bean:sectionInstance, field:'isActive')}</td> 48 48 49 <td>${fieldValue(bean:s ystemSectionInstance, field:'isActive')}</td>49 <td>${fieldValue(bean:sectionInstance, field:'department')}</td> 50 50 51 <td>${fieldValue(bean:s ystemSectionInstance, field:'name')}</td>51 <td>${fieldValue(bean:sectionInstance, field:'site')}</td> 52 52 53 53 </tr> … … 57 57 </div> 58 58 <div class="paginateButtons"> 59 <g:paginate total="${s ystemSectionInstanceTotal}" />59 <g:paginate total="${sectionInstanceTotal}" /> 60 60 </div> 61 61 </div>
Note: See TracChangeset
for help on using the changeset viewer.