Ignore:
Timestamp:
Feb 18, 2010, 3:09:18 AM (14 years ago)
Author:
gav
Message:

Svn move InventoryLocation and InventoryStore controllers and views to detailed and complete detailing.

File:
1 edited

Legend:

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

    r178 r377  
    66        <meta name="layout" content="main" />
    77        <title>InventoryLocation List</title>
     8        <nav:resources override="true"/>
    89    </head>
    910    <body>
    1011        <div class="nav">
    11             <span class="menuButton"><g:link class="create" action="create">New InventoryLocation</g:link></span>
     12            <nav:renderSubItems group="navAlt"/>
    1213        </div>
    1314        <div class="body">
    14             <h1>InventoryLocation List</h1>
    1515            <g:if test="${flash.message}">
    1616            <div class="message">${flash.message}</div>
     
    2121                        <tr>
    2222                       
    23                                 <g:sortableColumn property="id" title="Id" />
    24                        
    25                                 <g:sortableColumn property="name" title="Name" />
    26                        
    27                                 <th>Inventory Store</th>
    28                            
    29                                 <g:sortableColumn property="isActive" title="Is Active" />
     23                            <g:sortableColumn property="id" title="Id" />
     24
     25                            <g:sortableColumn property="name" title="Name" />
     26
     27                            <th>Inventory Store</th>
     28
     29                            <g:sortableColumn property="isActive" title="Is Active" />
     30
     31                            <th></th>
    3032                       
    3133                        </tr>
     
    3335                    <tbody>
    3436                    <g:each in="${inventoryLocationInstanceList}" status="i" var="inventoryLocationInstance">
    35                         <tr class="${(i % 2) == 0 ? 'odd' : 'even'}">
     37                        <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}" onclick='window.location = "${request.getContextPath()}/inventoryLocationDetailed/show/${inventoryLocationInstance.id}"'/>
     38
    3639                       
    37                             <td><g:link action="show" id="${inventoryLocationInstance.id}">${fieldValue(bean:inventoryLocationInstance, field:'id')}</g:link></td>
     40                            <td>${fieldValue(bean:inventoryLocationInstance, field:'id')}</td>
    3841                       
    3942                            <td>${fieldValue(bean:inventoryLocationInstance, field:'name')}</td>
     
    4245                       
    4346                            <td>${fieldValue(bean:inventoryLocationInstance, field:'isActive')}</td>
     47
     48                            <td>
     49                                <g:link action="show" id="${inventoryLocationInstance.id}">
     50                                    <img  src="${resource(dir:'images/skin',file:'database_go.png')}" alt="Show" />
     51                                </g:link>
     52                            </td>
    4453                       
    4554                        </tr>
Note: See TracChangeset for help on using the changeset viewer.