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/show.gsp

    r178 r377  
    66        <meta name="layout" content="main" />
    77        <title>Show InventoryLocation</title>
     8        <nav:resources override="true"/>
    89    </head>
    910    <body>
    1011        <div class="nav">
    11             <span class="menuButton"><g:link class="list" action="list">InventoryLocation List</g:link></span>
    12             <span class="menuButton"><g:link class="create" action="create">New InventoryLocation</g:link></span>
     12            <nav:renderSubItems group="navAlt"/>
    1313        </div>
    1414        <div class="body">
    15             <h1>Show InventoryLocation</h1>
    1615            <g:if test="${flash.message}">
    1716            <div class="message">${flash.message}</div>
     
    3736                   
    3837                        <tr class="prop">
    39                             <td valign="top" class="name">Inventory Items:</td>
    40                            
    41                             <td  valign="top" style="text-align:left;" class="value">
    42                                 <ul>
    43                                 <g:each var="i" in="${inventoryLocationInstance.inventoryItems}">
    44                                     <li><g:link controller="inventoryItem" action="show" id="${i.id}">${i?.encodeAsHTML()}</g:link></li>
    45                                 </g:each>
    46                                 </ul>
    47                             </td>
    48                            
    49                         </tr>
    50                    
    51                         <tr class="prop">
    5238                            <td valign="top" class="name">Inventory Store:</td>
    5339                           
    54                             <td valign="top" class="value"><g:link controller="inventoryStore" action="show" id="${inventoryLocationInstance?.inventoryStore?.id}">${inventoryLocationInstance?.inventoryStore?.encodeAsHTML()}</g:link></td>
     40                            <td valign="top" class="value"><g:link controller="inventoryStoreDetailed" action="show" id="${inventoryLocationInstance?.inventoryStore?.id}">${inventoryLocationInstance?.inventoryStore?.encodeAsHTML()}</g:link></td>
    5541                           
    5642                        </tr>
     
    6046                           
    6147                            <td valign="top" class="value">${fieldValue(bean:inventoryLocationInstance, field:'isActive')}</td>
     48                           
     49                        </tr>
     50                   
     51                        <tr class="prop">
     52                            <td valign="top" class="name">Inventory Items:</td>
     53                           
     54                            <td  valign="top" style="text-align:left;" class="value">
     55                                <ul>
     56                                <g:each var="i" in="${inventoryLocationInstance.inventoryItems}">
     57                                    <li><g:link controller="inventoryItemDetailed" action="show" id="${i.id}">${i?.encodeAsHTML()}</g:link></li>
     58                                </g:each>
     59                                </ul>
     60                            </td>
    6261                           
    6362                        </tr>
Note: See TracChangeset for help on using the changeset viewer.