Changeset 191 for waeup_product/trunk


Ignore:
Timestamp:
17 Nov 2005, 14:24:09 (19 years ago)
Author:
Henrik Bettermann
Message:
 
Location:
waeup_product/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • waeup_product/trunk/Students.py

    r181 r191  
    6767        """compose description"""
    6868        data = getattr(self,'PERSONAL',None)
    69         data_jamb = getattr(self,'JAMB',None)
    7069        if data is None:
    71             data = data_jamb
     70            return "none"
    7271        if data:
    73             content_data = data.getContent()
    74             content_jamb = data_jamb.getContent()
    75             return "%s %s is studying %s" % (content_data.firstname,content_data.lastname,content_jamb.course)
     72            content = data.getContent()
     73            return "%s" % (content.description)
    7674        return self.description
    7775
  • waeup_product/trunk/skins/waeup_student/eligibility.py

    r190 r191  
    6262    psm = "%s items deleted" % inr
    6363elif psm == 'valid':
    64     psm = "your changes have been saved"
    65    
     64    psm = "Your changes have been saved."
     65
    6666ds.set('schoolresults',sr)
    6767eli.edit(mapping=ds)
Note: See TracChangeset for help on using the changeset viewer.