Changeset 6084 for main


Ignore:
Timestamp:
14 May 2011, 06:50:16 (14 years ago)
Author:
Henrik Bettermann
Message:

Rename RestWidget? to RestDisplayWidget?.

Location:
main/waeup.sirp/trunk/src/waeup/sirp
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/applicants/browser.py

    r6083 r6084  
    4242from waeup.sirp.widgets.datewidget import (
    4343    FriendlyDateWidget, FriendlyDateDisplayWidget)
    44 from waeup.sirp.widgets.restwidget import ReSTWidget
     44from waeup.sirp.widgets.restwidget import ReSTDisplayWidget
    4545from waeup.sirp.widgets.objectwidget import (
    4646    WAeUPObjectWidget, WAeUPObjectDisplayWidget)
     
    143143    form_fields['startdate'].custom_widget = FriendlyDateWidget('le')
    144144    form_fields['enddate'].custom_widget = FriendlyDateWidget('le')
    145     #form_fields['description'].custom_widget = ReSTWidget
    146145
    147146    def update(self):
     
    207206    form_fields['startdate'].custom_widget = FriendlyDateDisplayWidget('le')
    208207    form_fields['enddate'].custom_widget = FriendlyDateDisplayWidget('le')
    209     form_fields['description'].custom_widget = ReSTWidget
     208    form_fields['description'].custom_widget = ReSTDisplayWidget
    210209
    211210    @property
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/pages.py

    r6065 r6084  
    4141from waeup.sirp.university.catalog import search
    4242from waeup.sirp.university.vocabularies import course_levels
    43 from waeup.sirp.widgets.restwidget import ReSTWidget
     43from waeup.sirp.widgets.restwidget import ReSTDisplayWidget
    4444
    4545grok.context(IWAeUPObject)
     
    120120   
    121121    form_fields = grok.AutoFields(IUniversity)
    122     form_fields['frontpage'].custom_widget = ReSTWidget
     122    form_fields['frontpage'].custom_widget = ReSTDisplayWidget
    123123
    124124    @property
  • main/waeup.sirp/trunk/src/waeup/sirp/widgets/restwidget.py

    r6063 r6084  
    2424
    2525
    26 class ReSTWidget(DisplayWidget):
     26class ReSTDisplayWidget(DisplayWidget):
    2727    """Restructured Text widget.
    2828    """
Note: See TracChangeset for help on using the changeset viewer.