Changeset 716 for trunk/grails-app/views
- Timestamp:
- Nov 23, 2010, 1:53:29 PM (14 years ago)
- Location:
- trunk/grails-app/views/inventoryItemDetailed
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/inventoryItemDetailed/create.gsp
r616 r716 30 30 <td valign="top" class="value ${hasErrors(bean:inventoryItemInstance,field:'name','errors')}"> 31 31 <input type="text" class="description" maxlength="50" id="name" name="name" value="${fieldValue(bean:inventoryItemInstance,field:'name')}"/> 32 <g:helpBalloon class="helpballoon" code="inventory.item.name" /> 32 33 </td> 33 34 </tr> … … 39 40 <td valign="top" class="value ${hasErrors(bean:inventoryItemInstance,field:'description','errors')}"> 40 41 <textarea rows="5" cols="40" name="description">${fieldValue(bean:inventoryItemInstance, field:'description')}</textarea> 42 <g:helpBalloon class="helpballoon" code="inventory.item.description" /> 41 43 </td> 42 44 </tr> … … 48 50 <td valign="top" class="value ${hasErrors(bean:inventoryItemInstance,field:'comment','errors')}"> 49 51 <textarea rows="5" cols="40" name="comment">${fieldValue(bean:inventoryItemInstance, field:'comment')}</textarea> 52 <g:helpBalloon class="helpballoon" code="inventory.item.comment" /> 50 53 </td> 51 54 </tr> … … 61 64 optionValue="${{it.name+ ' in ' + it.inventoryStore}}"> 62 65 </g:select> 66 <g:helpBalloon class="helpballoon" code="inventory.item.inventory.location" /> 63 67 64 68 <p><g:link controller="inventoryLocationDetailed" action="create">+Add Location</g:link></p> … … 74 78 type="text" id="reorderPoint" name="reorderPoint" 75 79 value="${fieldValue(bean:inventoryItemInstance,field:'reorderPoint')}" /> 80 <g:helpBalloon class="helpballoon" code="inventory.item.reorder.point" /> 76 81 <g:select optionKey="id" 77 82 from="${UnitOfMeasure.list()}" … … 79 84 value="${inventoryItemInstance?.unitOfMeasure?.id}" > 80 85 </g:select> 86 <g:helpBalloon class="helpballoon" code="inventory.item.unit.of.measure" /> 81 87 </td> 82 88 </tr> … … 88 94 <td valign="top" class="value ${hasErrors(bean:inventoryItemInstance,field:'enableReorderListing','errors')}"> 89 95 <g:checkBox name="enableReorderListing" value="${inventoryItemInstance?.enableReorderListing}" ></g:checkBox> 96 <g:helpBalloon class="helpballoon" code="inventory.item.enable.reorder.listing" /> 90 97 </td> 91 98 </tr> … … 97 104 <td valign="top" class="value ${hasErrors(bean:inventoryItemInstance,field:'inventoryGroup','errors')}"> 98 105 <g:select optionKey="id" from="${InventoryGroup.list()}" name="inventoryGroup.id" value="${inventoryItemInstance?.inventoryGroup?.id}" ></g:select> 99 106 <g:helpBalloon class="helpballoon" code="inventory.item.inventory.group" /> 100 107 <p><g:link controller="inventoryGroupDetailed" action="create">+Add Group</g:link></p> 101 108 </td> … … 108 115 <td valign="top" class="value ${hasErrors(bean:inventoryItemInstance,field:'inventoryType','errors')}"> 109 116 <g:select optionKey="id" from="${InventoryType.list()}" name="inventoryType.id" value="${inventoryItemInstance?.inventoryType?.id}" ></g:select> 117 <g:helpBalloon class="helpballoon" code="inventory.item.inventory.type" /> 110 118 </td> 111 119 </tr> … … 120 128 value="${fieldValue(bean:inventoryItemInstance,field:'averageDeliveryTime')}" /> 121 129 <g:select optionKey="id" from="${Period.list()}" name="averageDeliveryPeriod.id" value="${inventoryItemInstance?.averageDeliveryPeriod?.id}" noSelection="['null':'--None--']"></g:select> 130 <g:helpBalloon class="helpballoon" code="inventory.item.average.delivery.time" /> 122 131 </td> 123 132 </tr> … … 135 144 from="${grailsApplication.config.currencyList}"> 136 145 </g:currencySelect> 146 <g:helpBalloon class="helpballoon" code="inventory.item.estimated.unit.price.amount" /> 137 147 </td> 138 148 </tr> … … 144 154 <td valign="top" class="value ${hasErrors(bean:inventoryItemInstance,field:'suppliersPartNumber','errors')}"> 145 155 <input type="text" id="suppliersPartNumber" name="suppliersPartNumber" value="${fieldValue(bean:inventoryItemInstance,field:'suppliersPartNumber')}"/> 156 <g:helpBalloon class="helpballoon" code="inventory.item.suppliers.part.number" /> 146 157 </td> 147 158 </tr> … … 153 164 <td valign="top"> 154 165 <g:select optionKey="id" from="${suppliers}" name="preferredSupplier.id" value="${inventoryItemInstance.preferredSupplier?.id}" noSelection="['null':'--None--']"></g:select> 155 166 <g:helpBalloon class="helpballoon" code="inventory.item.preferred.supplier" /> 156 167 <p><g:link controller="supplierDetailed" action="create">+Add Supplier</g:link></p> 157 168 </td> … … 167 178 size="5" multiple="yes" optionKey="id" 168 179 value="${inventoryItemInstance.alternateSuppliers?.id}" noSelection="['':'--None--']"/> 180 <g:helpBalloon class="helpballoon" code="inventory.item.alternate.suppliers" /> 169 181 </td> 170 182 </tr> -
trunk/grails-app/views/inventoryItemDetailed/edit.gsp
r715 r716 50 50 type="text" maxlength="50" id="name" name="name" 51 51 value="${fieldValue(bean:inventoryItemInstance,field:'name')}"/> 52 <g:helpBalloon class="helpballoon" code="inventory.item.name" /> 52 53 </td> 53 54 </tr> … … 59 60 <td valign="top" class="value ${hasErrors(bean:inventoryItemInstance,field:'description','errors')}"> 60 61 <textarea rows="5" cols="40" name="description">${fieldValue(bean:inventoryItemInstance, field:'description')}</textarea> 62 <g:helpBalloon class="helpballoon" code="inventory.item.description" /> 61 63 </td> 62 64 </tr> … … 68 70 <td valign="top" class="value ${hasErrors(bean:inventoryItemInstance,field:'comment','errors')}"> 69 71 <textarea rows="5" cols="40" name="comment">${fieldValue(bean:inventoryItemInstance, field:'comment')}</textarea> 72 <g:helpBalloon class="helpballoon" code="inventory.item.comment" /> 70 73 </td> 71 74 </tr> … … 77 80 <td valign="top" class="value"> 78 81 ${inventoryItemInstance.unitsInStock} ${inventoryItemInstance.unitOfMeasure.encodeAsHTML()} 82 <g:helpBalloon class="helpballoon" code="inventory.item.units.in.stock" /> 79 83 </td> 80 84 </tr> … … 91 95 optionValue="${{it.name+ ' in ' + it.inventoryStore}}"> 92 96 </g:select> 97 <g:helpBalloon class="helpballoon" code="inventory.item.inventory.location" /> 93 98 </td> 94 99 </tr> … … 100 105 <td valign="top" class="value ${hasErrors(bean:inventoryItemInstance,field:'isActive','errors')}"> 101 106 <g:checkBox name="isActive" value="${inventoryItemInstance?.isActive}" ></g:checkBox> 107 <g:helpBalloon class="helpballoon" code="inventory.item.is.active" /> 102 108 </td> 103 109 </tr> … … 111 117 type="text" id="reorderPoint" name="reorderPoint" 112 118 value="${fieldValue(bean:inventoryItemInstance,field:'reorderPoint')}" /> 113 ${inventoryItemInstance.unitOfMeasure.encodeAsHTML()} 119 ${inventoryItemInstance.unitOfMeasure.encodeAsHTML()} 120 <g:helpBalloon class="helpballoon" code="inventory.item.reorder.point" /> 114 121 </td> 115 122 </tr> … … 124 131 value="${fieldValue(bean:inventoryItemInstance,field:'reorderQuantity')}" /> 125 132 ${inventoryItemInstance.unitOfMeasure.encodeAsHTML()} 133 <g:helpBalloon class="helpballoon" code="inventory.item.reorder.quantity" /> 126 134 </td> 127 135 </tr> … … 133 141 <td valign="top" class="value ${hasErrors(bean:inventoryItemInstance,field:'enableReorderListing','errors')}"> 134 142 <g:checkBox name="enableReorderListing" value="${inventoryItemInstance?.enableReorderListing}" ></g:checkBox> 143 <g:helpBalloon class="helpballoon" code="inventory.item.enable.reorder.listing" /> 135 144 </td> 136 145 </tr> … … 142 151 <td valign="top" class="value ${hasErrors(bean:inventoryItemInstance,field:'isObsolete','errors')}"> 143 152 <g:checkBox name="isObsolete" value="${inventoryItemInstance?.isObsolete}" ></g:checkBox> 153 <g:helpBalloon class="helpballoon" code="inventory.item.is.obsolete" /> 144 154 </td> 145 155 </tr> … … 157 167 noSelection="['null':'--None--']"> 158 168 </g:select> 169 <g:helpBalloon class="helpballoon" code="inventory.item.average.delivery.time" /> 159 170 </td> 160 171 </tr> … … 172 183 from="${grailsApplication.config.currencyList}"> 173 184 </g:currencySelect> 185 <g:helpBalloon class="helpballoon" code="inventory.item.estimated.unit.price.amount" /> 174 186 </td> 175 187 </tr> … … 181 193 <td valign="top" class="value ${hasErrors(bean:inventoryItemInstance,field:'suppliersPartNumber','errors')}"> 182 194 <input type="text" id="suppliersPartNumber" name="suppliersPartNumber" value="${fieldValue(bean:inventoryItemInstance,field:'suppliersPartNumber')}"/> 195 <g:helpBalloon class="helpballoon" code="inventory.item.suppliers.part.number" /> 183 196 </td> 184 197 </tr> … … 190 203 <td valign="top"> 191 204 <g:select optionKey="id" from="${suppliers}" name="preferredSupplier.id" value="${inventoryItemInstance.preferredSupplier?.id}" noSelection="['null':'--None--']"></g:select> 192 205 <g:helpBalloon class="helpballoon" code="inventory.item.preferred.supplier" /> 193 206 <p><g:link controller="supplierDetailed" action="create">+Add Supplier</g:link></p> 194 207 </td> … … 204 217 size="5" multiple="yes" optionKey="id" 205 218 value="${inventoryItemInstance.alternateSuppliers?.id}" noSelection="['':'--None--']"/> 219 <g:helpBalloon class="helpballoon" code="inventory.item.alternate.suppliers" /> 206 220 </td> 207 221 </tr> … … 271 285 <td valign="top" class="value ${hasErrors(bean:inventoryItemInstance,field:'inventoryGroup','errors')}"> 272 286 <g:select optionKey="id" from="${InventoryGroup.list()}" name="inventoryGroup.id" value="${inventoryItemInstance?.inventoryGroup?.id}" ></g:select> 287 <g:helpBalloon class="helpballoon" code="inventory.item.inventory.group" /> 273 288 </td> 274 289 </tr> … … 280 295 <td valign="top" class="value ${hasErrors(bean:inventoryItemInstance,field:'inventoryType','errors')}"> 281 296 <g:select optionKey="id" from="${InventoryType.list()}" name="inventoryType.id" value="${inventoryItemInstance?.inventoryType?.id}" ></g:select> 297 <g:helpBalloon class="helpballoon" code="inventory.item.inventory.type" /> 282 298 </td> 283 299 </tr> -
trunk/grails-app/views/inventoryItemDetailed/show.gsp
r715 r716 20 20 <ul> 21 21 <g:if test="${inventoryItemInstance.isObsolete}" > 22 <li><g:message code="inventory.item.is.obsolete " /><li>22 <li><g:message code="inventory.item.is.obsolete.message" /><li> 23 23 </g:if> 24 24 <g:if test="${!inventoryItemInstance.isActive}" > 25 <li><g:message code="inventory.item.not.active " /><li>25 <li><g:message code="inventory.item.not.active.message" /><li> 26 26 </g:if> 27 27 </ul>
Note: See TracChangeset
for help on using the changeset viewer.