Changeset 2793


Ignore:
Timestamp:
27 Nov 2007, 12:02:17 (17 years ago)
Author:
Henrik Bettermann
Message:

create_level.py: fixed

student_view.pt: avoid tracepack

Location:
WAeUP_SRP/base/skins/waeup_student
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/base/skins/waeup_student/create_level.py

    r2766 r2793  
    111111# fetch carry_over courses from the course_results catalog
    112112else:
    113     res = context.aq_results(Eq('student_id',student_id),
     113    res = aq_results(Eq('student_id',student_id),
    114114                             sortSpecs=('level_id',))
    115115    last_level_id = res[-1].level_id
    116116    for result in res:
    117117        course_id = result.code
    118         if course_id in l or result.level_id != last_level_id: 
     118        if course_id in l or result.level_id != last_level_id:
    119119            continue
    120120        query = Eq('code',course_id)
  • WAeUP_SRP/base/skins/waeup_student/student_view.pt

    r2730 r2793  
    22  <metal:main fill-slot="main"
    33              tal:define="info context/getStudentFolderInfo;
    4               baseinfo info/base_info"
     4              baseinfo info/base_info|nothing"
    55              >
    66    <metal:block tal:condition="not: info">
Note: See TracChangeset for help on using the changeset viewer.