Changeset 392 for trunk/grails-app/views
- Timestamp:
- Feb 19, 2010, 1:46:29 AM (15 years ago)
- Location:
- trunk/grails-app/views/inventoryItemDetailed
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/inventoryItemDetailed/create.gsp
r382 r392 51 51 <g:select optionKey="id" 52 52 from="${ InventoryLocation.list().sort { p1, p2 -> p1.toString().compareToIgnoreCase(p2.toString()) } }" 53 name="inventoryLocation.id" value="${inventoryItemInstance?.inventoryLocation?.id}" > 53 name="inventoryLocation.id" value="${inventoryItemInstance?.inventoryLocation?.id}" 54 optionValue="${{it.name+ ' in ' + it.inventoryStore}}"> 54 55 </g:select> 55 56 -
trunk/grails-app/views/inventoryItemDetailed/edit.gsp
r382 r392 83 83 from="${ InventoryLocation.list().sort { p1, p2 -> p1.toString().compareToIgnoreCase(p2.toString()) } }" 84 84 name="inventoryLocation.id" 85 value="${inventoryItemInstance?.inventoryLocation?.id}" > 85 value="${inventoryItemInstance?.inventoryLocation?.id}" 86 optionValue="${{it.name+ ' in ' + it.inventoryStore}}"> 86 87 </g:select> 87 88 </td> -
trunk/grails-app/views/inventoryItemDetailed/search.gsp
r221 r392 9 9 <g:render template="/shared/pictureHead" /> 10 10 <filterpane:includes /> 11 <export:resource /> 11 12 </head> 12 13 <body> … … 26 27 27 28 <div class="paginateButtons"> 29 Results: ${inventoryItemInstanceList.size()} / ${inventoryItemInstanceTotal} 28 30 <span class="searchButtons"> 29 31 <filterpane:filterButton text="Search" appliedText="Change Search" /> 30 32 </span> 31 Results:${inventoryItemInstanceTotal}32 33 </div> 34 35 <jsUtil:toggleControl toggleId="options" 36 imageId="optionsImg" 37 closedImgUrl="${resource(dir:'images/skin',file:'bullet_arrow_right.png')}" 38 openImgUrl="${resource(dir:'images/skin',file:'bullet_arrow_down.png')}" 39 text="${g.message(code: 'default.options.text')}" 40 /> 41 42 <div id="options" style="display:none;"> 43 <g:form method="post" > 44 <g:hiddenField name="params" value="${filterParams}" /> 45 <div class="dialog"> 46 <table> 47 <tbody> 48 49 <tr class="prop"> 50 <td valign="top" class="name"> 51 <label for="max">Results per page:</label> 52 </td> 53 <td valign="top" class="value"> 54 <input type="text" maxlength="4" id="description" name="newMax" value="${params.max}"/> 55 56 <span class="buttons"> 57 <g:actionSubmit action="setSearchParamsMax" class="go" value="Update" /> 58 </span> 59 </td> 60 </tr> 61 62 </tbody> 63 </table> 64 </div> 65 </g:form> 66 <export:formats params="${filterParams}" formats="['csv', 'excel', 'pdf', 'rtf']"/> 67 </div> 68 69 <br /> 70 71 <g:if test="${inventoryItemInstanceList.size() > 10}"> 72 <g:if test="${inventoryItemInstanceTotal > inventoryItemInstanceList.size()}"> 73 <div class="paginateButtons"> 74 <g:paginate total="${inventoryItemInstanceTotal}" params="${filterParams}" /> 75 </div> 76 </g:if> 77 </g:if> 33 78 34 79 <div class="list"> -
trunk/grails-app/views/inventoryItemDetailed/show.gsp
r382 r392 133 133 ${inventoryItemInstance.inventoryLocation?.encodeAsHTML()} 134 134 </g:link> 135 in ${inventoryItemInstance.inventoryLocation?.inventoryStore.encodeAsHTML()} 135 136 </td> 136 137 </tr>
Note: See TracChangeset
for help on using the changeset viewer.