Changeset 12334
- Timestamp:
- 29 Dec 2014, 06:35:45 (10 years ago)
- Location:
- main/waeup.ikoba/trunk/src/waeup/ikoba
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.ikoba/trunk/src/waeup/ikoba/products/browser_templates/containermanagepage.pt
r12068 r12334 38 38 <th i18n:translate="">Title 39 39 </th> 40 <th i18n:translate="">Category 41 </th> 40 42 </tr> 41 43 </thead> 42 44 <tbody> 43 <tr tal:repeat="prod context/values"> <td> 45 <tr tal:repeat="prod context/values"> 46 <td> 44 47 <input type="checkbox" name="val_id" 45 tal:attributes="value prod/product_id" /> </td> <td> 48 tal:attributes="value prod/product_id" /> 49 </td> 50 <td> 46 51 <a tal:attributes="href python: view.url(prod)" 47 tal:content="prod/__name__"> ID</a> </td> <td> 48 <span tal:content="prod/title">TITLE 49 </span> </td> 52 tal:content="prod/__name__"> ID</a> 53 </td> 54 <td> 55 <span tal:content="prod/title">TITLE</span> 56 </td> 57 <td> 58 <span tal:content="prod/contract_category_title">CATEGORY</span> 59 </td> 50 60 </tr> 51 61 </tbody> -
main/waeup.ikoba/trunk/src/waeup/ikoba/products/browser_templates/containerpage.pt
r12067 r12334 8 8 <th i18n:translate="">Product Id</th> 9 9 <th i18n:translate="">Title</th> 10 <th i18n:translate="">Category</th> 10 11 </tr> 11 12 </thead> … … 15 16 <span tal:content="value/product_id">ID</span></a></td> 16 17 <td tal:content="value/title">TITLE</td> 18 <td tal:content="value/contract_category_title">CATEGORY</td> 17 19 </tr> 18 20 </tbody> -
main/waeup.ikoba/trunk/src/waeup/ikoba/products/product.py
r12195 r12334 46 46 ] 47 47 48 @property 49 def contract_category_title(self): 50 cc_dict = getUtility(IIkobaUtils).CON_CATS_DICT 51 return cc_dict[self.contract_category] 52 48 53 Product = attrs_to_fields(Product) 49 54 -
main/waeup.ikoba/trunk/src/waeup/ikoba/utils/batching.py
r12258 r12334 69 69 70 70 # A factory with this name must be registered... 71 factory_name = 'waeup. Department'71 factory_name = 'waeup.any_factory' 72 72 73 73 @property
Note: See TracChangeset for help on using the changeset viewer.