Changeset 464 for WAeUP_SRP/trunk/skins


Ignore:
Timestamp:
1 Sep 2006, 17:16:18 (19 years ago)
Author:
joachim
Message:

added missing files.

A trunk/profiles/default/layouts/student_check_pin.xml
M trunk/profiles/default/types.xml
M trunk/profiles/default/actionicons.xml
M trunk/profiles/default/workflows.xml
A trunk/profiles/default/types/StudentSemester.xml
D trunk/profiles/default/types/CourseTicket.xml
M trunk/profiles/default/types/StudentsFolder.xml
A trunk/profiles/default/types/StudentCourseResult.xml
M trunk/init.py
M trunk/skins/waeup_academics/academics_content_lib_info_detail_tab.pt
A trunk/skins/waeup_custom/cpsskins_lib.pt
M trunk/skins/waeup_custom/getContentInfo.py
M trunk/Students.py

Location:
WAeUP_SRP/trunk/skins
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_academics/academics_content_lib_info_detail_tab.pt

    r454 r464  
    131131    </span>
    132132    <span tal:define="docu python: info['doc']"
    133           tal:condition="python: docu.portal_type == 'CourseTicket'">
     133          tal:condition="python: docu.portal_type == 'StudentCourseResult'">
    134134      <td>
    135135        <span tal:content="docu/grade">ID</span>
     
    140140    </span>
    141141    <span tal:define="docu python: info['doc']"
    142           tal:condition="python: docu.portal_type == 'Student'">
     142          tal:condition="python: False and docu.portal_type == 'Student'">
    143143      <td>
    144144        <span tal:content="info/clearance/matric_no">ID</span>
  • WAeUP_SRP/trunk/skins/waeup_custom/getContentInfo.py

    r458 r464  
    233233        info['core_or_elective'] = core
    234234    elif doc.portal_type == 'Student':
    235         info['clearance'] = proxy.clearance.getContent()
     235        try:
     236            info['clearance'] = proxy.clearance.getContent()
     237        except AttributeError:
     238            info['clearance'] = None
    236239    info['time'] = doc.modified()
    237240    info['doc'] = doc
Note: See TracChangeset for help on using the changeset viewer.