Changeset 124 for trunk/grails-app/views/inventoryItemDetailed
- Timestamp:
- May 4, 2009, 1:59:11 PM (16 years ago)
- Location:
- trunk/grails-app/views/inventoryItemDetailed
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/inventoryItemDetailed/list.gsp
r116 r124 28 28 <g:sortableColumn property="description" title="Description" /> 29 29 30 <g:sortableColumn property="reorderPoint" title="Reorder Point" />31 32 30 <g:sortableColumn property="enableReorder" title="Enable Reorder" /> 33 31 34 32 <g:sortableColumn property="isActive" title="Is Active" /> 33 34 <th></th> 35 35 36 36 </tr> … … 38 38 <tbody> 39 39 <g:each in="${inventoryItemInstanceList}" status="i" var="inventoryItemInstance"> 40 <tr class="${(i % 2) == 0 ? ' odd' : 'even'}">40 <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}" onclick='window.location = "${request.getContextPath()}/inventoryItemDetailed/show/${inventoryItemInstance.id}"'/> 41 41 42 <td> <g:link action="show" id="${inventoryItemInstance.id}">${fieldValue(bean:inventoryItemInstance, field:'id')}</g:link></td>42 <td>${fieldValue(bean:inventoryItemInstance, field:'id')}</td> 43 43 44 44 <td>${fieldValue(bean:inventoryItemInstance, field:'name')}</td> … … 46 46 <td>${fieldValue(bean:inventoryItemInstance, field:'description')}</td> 47 47 48 <td>${fieldValue(bean:inventoryItemInstance, field:'reorderPoint')}</td>49 50 48 <td>${fieldValue(bean:inventoryItemInstance, field:'enableReorder')}</td> 51 49 52 50 <td>${fieldValue(bean:inventoryItemInstance, field:'isActive')}</td> 51 52 <td> 53 <g:link action="show" id="${inventoryItemInstance.id}"> 54 <img src="${createLinkTo(dir:'images/skin',file:'database_table.png')}" alt="Show" /> 55 </g:link> 56 </td> 53 57 54 58 </tr> -
trunk/grails-app/views/inventoryItemDetailed/show.gsp
r116 r124 166 166 <ul> 167 167 <g:each var="s" in="${inventoryItemInstance.spareFor}"> 168 <li><g:link controller="asset " action="show" id="${s.id}">${s?.encodeAsHTML()}</g:link></li>168 <li><g:link controller="assetDetailed" action="show" id="${s.id}">${s?.encodeAsHTML()}</g:link></li> 169 169 </g:each> 170 170 </ul>
Note: See TracChangeset
for help on using the changeset viewer.