Changeset 175 for trunk/grails-app/views/inventoryLocation/show.gsp
- Timestamp:
- Oct 29, 2009, 8:30:58 PM (16 years ago)
- Location:
- trunk/grails-app/views/inventoryLocation
- Files:
-
- 1 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/inventoryLocation/show.gsp
r151 r175 5 5 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> 6 6 <meta name="layout" content="main" /> 7 <title>Show StoreLocation</title>7 <title>Show InventoryLocation</title> 8 8 </head> 9 9 <body> 10 10 <div class="nav"> 11 11 <span class="menuButton"><a class="home" href="${resource(dir:'')}">Home</a></span> 12 <span class="menuButton"><g:link class="list" action="list"> StoreLocation List</g:link></span>13 <span class="menuButton"><g:link class="create" action="create">New StoreLocation</g:link></span>12 <span class="menuButton"><g:link class="list" action="list">InventoryLocation List</g:link></span> 13 <span class="menuButton"><g:link class="create" action="create">New InventoryLocation</g:link></span> 14 14 </div> 15 15 <div class="body"> 16 <h1>Show StoreLocation</h1>16 <h1>Show InventoryLocation</h1> 17 17 <g:if test="${flash.message}"> 18 18 <div class="message">${flash.message}</div> … … 26 26 <td valign="top" class="name">Id:</td> 27 27 28 <td valign="top" class="value">${fieldValue(bean: storeLocationInstance, field:'id')}</td>28 <td valign="top" class="value">${fieldValue(bean:inventoryLocationInstance, field:'id')}</td> 29 29 30 30 </tr> 31 31 32 32 <tr class="prop"> 33 <td valign="top" class="name"> Bin:</td>33 <td valign="top" class="name">Name:</td> 34 34 35 <td valign="top" class="value">${fieldValue(bean:storeLocationInstance, field:'bin')}</td> 35 <td valign="top" class="value">${fieldValue(bean:inventoryLocationInstance, field:'name')}</td> 36 37 </tr> 38 39 <tr class="prop"> 40 <td valign="top" class="name">Inventory Items:</td> 41 42 <td valign="top" style="text-align:left;" class="value"> 43 <ul> 44 <g:each var="i" in="${inventoryLocationInstance.inventoryItems}"> 45 <li><g:link controller="inventoryItem" action="show" id="${i.id}">${i?.encodeAsHTML()}</g:link></li> 46 </g:each> 47 </ul> 48 </td> 36 49 37 50 </tr> … … 40 53 <td valign="top" class="name">Inventory Store:</td> 41 54 42 <td valign="top" class="value"><g:link controller="inventoryStore" action="show" id="${ storeLocationInstance?.inventoryStore?.id}">${storeLocationInstance?.inventoryStore?.encodeAsHTML()}</g:link></td>55 <td valign="top" class="value"><g:link controller="inventoryStore" action="show" id="${inventoryLocationInstance?.inventoryStore?.id}">${inventoryLocationInstance?.inventoryStore?.encodeAsHTML()}</g:link></td> 43 56 44 57 </tr> … … 47 60 <td valign="top" class="name">Is Active:</td> 48 61 49 <td valign="top" class="value">${fieldValue(bean:storeLocationInstance, field:'isActive')}</td> 50 51 </tr> 52 53 <tr class="prop"> 54 <td valign="top" class="name">Stored Items:</td> 55 56 <td valign="top" style="text-align:left;" class="value"> 57 <ul> 58 <g:each var="s" in="${storeLocationInstance.storedItems}"> 59 <li><g:link controller="storedItem" action="show" id="${s.id}">${s?.encodeAsHTML()}</g:link></li> 60 </g:each> 61 </ul> 62 </td> 62 <td valign="top" class="value">${fieldValue(bean:inventoryLocationInstance, field:'isActive')}</td> 63 63 64 64 </tr> … … 69 69 <div class="buttons"> 70 70 <g:form> 71 <input type="hidden" name="id" value="${ storeLocationInstance?.id}" />71 <input type="hidden" name="id" value="${inventoryLocationInstance?.id}" /> 72 72 <span class="button"><g:actionSubmit class="edit" value="Edit" /></span> 73 73 <span class="button"><g:actionSubmit class="delete" onclick="return confirm('Are you sure?');" value="Delete" /></span>
Note: See TracChangeset
for help on using the changeset viewer.