Ignore:
Timestamp:
2 Nov 2005, 18:04:59 (19 years ago)
Author:
joachim
Message:

=added register_level

Location:
waeup_product/trunk/skins
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • waeup_product/trunk/skins/waeup_default/getWAeUPLayouts.py

    r141 r142  
    920920        'ncols': 1,
    921921        'rows': [
    922             [{'widget_id': 'heading', 'ncols': 1},],
     922            #[{'widget_id': 'heading', 'ncols': 1},],
    923923            [{'widget_id': 'title', 'ncols': 1},],
    924924            [{'widget_id': 'text', 'ncols': 1},],
     
    994994study_level = { ###(
    995995    'widgets': {
    996         'title': {
     996        'Title': {
    997997            'type': 'Select Widget',
    998998            'data': {
    999999                'title': '',
    10001000                'fields': ('Title',),
    1001                 'is_required': True,
     1001                'is_required': False,
    10021002                'label': 'Study Level',
    10031003                'label_edit': 'Study Level',
     
    10231023        'ncols': 1,
    10241024        'rows': [
    1025             [{'widget_id': 'title', 'ncols': 1},],
     1025            [{'widget_id': 'Title', 'ncols': 1},],
    10261026        ]
    10271027    },
     
    10451045            },
    10461046        },
    1047         'title': Title,
     1047        'Title': Title,
    10481048        'text': Text,
    10491049        'which_sex': {
     
    11371137        'ncols': 1,
    11381138        'rows': [
    1139             [{'widget_id': 'heading', 'ncols': 1},],
    1140             [{'widget_id': 'title', 'ncols': 1},],
     1139            #[{'widget_id': 'heading', 'ncols': 1},],
     1140            [{'widget_id': 'Title', 'ncols': 1},],
    11411141            [{'widget_id': 'text', 'ncols': 1},],
    11421142            [{'widget_id': 'which_sex', 'ncols': 1},],
  • waeup_product/trunk/skins/waeup_default/getWAeUPSchemas.py

    r139 r142  
    321321
    322322course_schema = { ###(
     323    'Title': {
     324        'type': 'CPS String Field',
     325        'data': {
     326            'default_expr': '',
     327            'is_searchabletext': True,
     328        },
     329    },
    323330    'heading': {
    324331        'type': 'CPS String Field',
    325332        'data': {
    326             'default_expr': 'string:',
     333            'default_expr': '',
    327334            'is_searchabletext': True,
    328335        },
     
    374381accommodation = { ###(
    375382    'heading': {
     383        'type': 'CPS String Field',
     384        'data': {
     385            'is_searchabletext': True,
     386        },
     387    },
     388    'Title': {
    376389        'type': 'CPS String Field',
    377390        'data': {
  • waeup_product/trunk/skins/waeup_faculty/create_course.py

    r103 r142  
    2424                      create_action = 'create_course',
    2525                      )
    26 if psm == 'invalid':
     26if  psm == 'invalid':
    2727    return context.common_edit_form(rendered = res,
    2828                                 create = 1,
    2929                                 type_name = type_name,
     30                                 #psm = str(ds),
    3031                                 psm = 'Please correct your errors',
    3132                                 )
Note: See TracChangeset for help on using the changeset viewer.