Changeset 12323 for main


Ignore:
Timestamp:
26 Dec 2014, 09:34:30 (10 years ago)
Author:
Henrik Bettermann
Message:

Choose proper function names.

Location:
main/waeup.ikoba/trunk/src/waeup/ikoba
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.ikoba/trunk/src/waeup/ikoba/products/productoptions.py

    r12307 r12323  
    8686          my_option_entry = ProductOptionEntryField()
    8787
    88     Default widgets are registered to render result entry fields.
     88    Default widgets are registered to render product option entry fields.
    8989    """
    9090    grok.implements(IProductOptionEntryField)
     
    9797@grok.adapter(IProductOptionEntryField, IBrowserRequest)
    9898@grok.implementer(IInputWidget)
    99 def result_entry_input_widget(obj, req):
     99def option_entry_input_widget(obj, req):
    100100    return IkobaObjectWidget(obj, req, ProductOptionEntry)
    101101
     
    103103@grok.adapter(IProductOptionEntryField, IBrowserRequest)
    104104@grok.implementer(IDisplayWidget)
    105 def result_entry_display_widget(obj, req):
     105def option_entry_display_widget(obj, req):
    106106    return IkobaObjectDisplayWidget(obj, req, ProductOptionEntry)
  • main/waeup.ikoba/trunk/src/waeup/ikoba/widgets/objectwidget.pt

    r12314 r12323  
    77        i18n:translate="">
    88          LABEL
    9         </span>:
     9        </span>
    1010      <tal:block define="error widget/error"
    1111        condition="error" content="structure error">
Note: See TracChangeset for help on using the changeset viewer.