Changeset 176 for waeup_product/trunk


Ignore:
Timestamp:
16 Nov 2005, 07:52:57 (19 years ago)
Author:
joachim
Message:

=email add, Faculty + Department Title removed

Location:
waeup_product/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • waeup_product/trunk/Faculty.py

    r174 r176  
    8282    security = ClassSecurityInfo()
    8383   
    84     security.declareProtected(View,"Title")
    85     def Title(self):
    86         """compose title"""
    87         reg_nr = self.getId()[1:]
    88         return "Faculty of %s" % (self.title)
     84##    security.declareProtected(View,"Title")
     85##    def Title(self):
     86##        """compose title"""
     87##        reg_nr = self.getId()[1:]
     88##        return "Faculty of %s" % (self.title)
    8989
    9090InitializeClass(Faculty)
     
    118118    security = ClassSecurityInfo()
    119119
    120     security.declareProtected(View,"Title")
    121     def Title(self):
    122         """compose title"""
    123         reg_nr = self.getId()[1:]
    124         return "Department of %s" % (self.title)
     120##    security.declareProtected(View,"Title")
     121##    def Title(self):
     122##        """compose title"""
     123##        reg_nr = self.getId()[1:]
     124##        return "Department of %s" % (self.title)
    125125
    126126InitializeClass(Department)
  • waeup_product/trunk/skins/waeup_default/getWAeUPLayouts.py

    r175 r176  
    829829        'middlename': middlename,
    830830        'lastname': lastname,
     831        'email': email,
    831832        'sex': sex,
    832833        'birthday': {
     
    861862            [{'widget_id': 'middlename', 'ncols': 1},],
    862863            [{'widget_id': 'lastname', 'ncols': 1},],
     864            [{'widget_id': 'email', 'ncols': 1},],
    863865            [{'widget_id': 'sex', 'ncols': 1},],
    864866            [{'widget_id': 'birthday', 'ncols': 1},],
  • waeup_product/trunk/skins/waeup_default/getWAeUPSchemas.py

    r175 r176  
    415415        },
    416416    },
     417     'email': {
     418        'type': 'CPS String Field',
     419        'data': {
     420            'is_searchabletext': 1,
     421        },
     422    },
    417423     'sex': {
    418424        'type': 'CPS Boolean Field',
    419425        'default_expr': 'python:True',
    420426        'data': {
    421             'is_searchabletext': 1,
     427            'is_searchabletext': 0,
    422428        },
    423429    },
     
    425431        'type': 'CPS DateTime Field',
    426432        'data': {
    427             'is_searchabletext': 1,
     433            'is_searchabletext': 0,
    428434        },
    429435    },
     
    431437        'type': 'CPS DateTime Field',
    432438        'data': {
    433             'is_searchabletext': 1,
     439            'is_searchabletext': 0,
    434440        },
    435441    },
     
    871877##    },
    872878##}
     879###)
     880
    873881schemas = {}
    874 ###)
    875882
    876883schemas['university'] = university_schema
  • waeup_product/trunk/skins/waeup_student/eligibility.py

    r175 r176  
    4646    #pw = REQUEST.get("widget__pw")
    4747    #pm.setPassword(pw)
    48 psm = 'Email hay been successfully set.'
     48psm = 'Email has been successfully set.'
    4949return context.REQUEST.RESPONSE.redirect('%s' % context.portal_url.getUrlFromRpath('/students'))
    5050
Note: See TracChangeset for help on using the changeset viewer.