Changeset 268 for trunk/grails-app/views/assetSubItem/list.gsp
- Timestamp:
- Jan 14, 2010, 10:51:03 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/assetSubItem/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>Asset TypeList</title>7 <title>AssetSubItem List</title> 8 8 </head> 9 9 <body> 10 10 <div class="nav"> 11 <span class="menuButton"><g:link class="create" action="create">New Asset Type</g:link></span>11 <span class="menuButton"><g:link class="create" action="create">New AssetSubItem</g:link></span> 12 12 </div> 13 13 <div class="body"> 14 <h1>Asset TypeList</h1>14 <h1>AssetSubItem 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 27 <g:sortableColumn property="description" title="Description" /> … … 29 29 <g:sortableColumn property="isActive" title="Is Active" /> 30 30 31 <g:sortableColumn property="name" title="Name" /> 32 31 <th>Asset</th> 32 33 <th>Parent Item</th> 34 33 35 </tr> 34 36 </thead> 35 37 <tbody> 36 <g:each in="${asset TypeInstanceList}" status="i" var="assetTypeInstance">38 <g:each in="${assetSubItemInstanceList}" status="i" var="assetSubItemInstance"> 37 39 <tr class="${(i % 2) == 0 ? 'odd' : 'even'}"> 38 40 39 <td><g:link action="show" id="${asset TypeInstance.id}">${fieldValue(bean:assetTypeInstance, field:'id')}</g:link></td>41 <td><g:link action="show" id="${assetSubItemInstance.id}">${fieldValue(bean:assetSubItemInstance, field:'id')}</g:link></td> 40 42 41 <td>${fieldValue(bean:asset TypeInstance, field:'costCode')}</td>43 <td>${fieldValue(bean:assetSubItemInstance, field:'name')}</td> 42 44 43 <td>${fieldValue(bean:asset TypeInstance, field:'description')}</td>45 <td>${fieldValue(bean:assetSubItemInstance, field:'description')}</td> 44 46 45 <td>${fieldValue(bean:asset TypeInstance, field:'isActive')}</td>47 <td>${fieldValue(bean:assetSubItemInstance, field:'isActive')}</td> 46 48 47 <td>${fieldValue(bean:assetTypeInstance, field:'name')}</td> 49 <td>${fieldValue(bean:assetSubItemInstance, field:'asset')}</td> 50 51 <td>${fieldValue(bean:assetSubItemInstance, field:'parentItem')}</td> 48 52 49 53 </tr> … … 53 57 </div> 54 58 <div class="paginateButtons"> 55 <g:paginate total="${asset TypeInstanceTotal}" />59 <g:paginate total="${assetSubItemInstanceTotal}" /> 56 60 </div> 57 61 </div>
Note: See TracChangeset
for help on using the changeset viewer.