Changeset 1258


Ignore:
Timestamp:
10 Jan 2007, 11:11:28 (18 years ago)
Author:
Henrik Bettermann
Message:

corrections (all in custom)

Location:
WAeUP_SRP/trunk/skins
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_student/getSessionResults.py

    r1183 r1258  
    3131requested_id = context.getStudentId()
    3232if requested_id and not context.isStaff() and member_id != requested_id:
     33    import logging
     34    logger = logging.getLogger('Student.SessionResults.Info')
    3335    logger.info('"%s", "tried to access", "%s"' % (member_id,requested_id))
    3436    return None
  • WAeUP_SRP/trunk/skins/waeup_student/getStudentFolderInfo.py

    r1243 r1258  
    8686        row['s_edit_link'] = "%s/%s" % (url,se_link)
    8787    row['display'] = review_state in ('opened','closed','bed_reserved','maintenance_fee_paid',)\
    88                     and so.portal_type != 'StudentPume' or\
     88                    and so.portal_type not in  ('StudentPume','PaymentsFolder',) or\
    8989                    so.portal_type == 'StudentStudyCourse'
    9090    items.append(row)
     
    9292info['member'] = member
    9393return info
     94
  • WAeUP_SRP/trunk/skins/waeup_student/student_view.pt

    r1254 r1258  
    4343       
    4444                 
    45          <span tal:condition="python:info['member'].id in ('admin','joachim','kehindesamuel','med',)">
     45         <span tal:condition="python:info['member'].id in ('admin','joachim','kehindesamuel','med','isouaba','obadejo',)">
    4646         <br />
    4747         <form action="mail_password_form" method="post" class="group">
  • WAeUP_SRP/trunk/skins/waeup_utilities/createReturningStudent.py

    r1255 r1258  
    4444    if count > 100:
    4545        context.waeup_tool.createOne(students_folder,student,'Z',commit=True)
    46         logger.info('"%s","Commited Students","%s", "%s" ' % (member,count,total))
     46        logger.info('"%s","Committed Students","%s", "%s" ' % (member,count,total))
    4747        total += count
    4848        count = 1
Note: See TracChangeset for help on using the changeset viewer.