Ignore:
Timestamp:
31 Aug 2006, 10:37:54 (18 years ago)
Author:
joachim
Message:

add student_study_level,
adopted result_import
results import now is broken because of missing wf_state.

Location:
WAeUP_SRP/trunk/skins/waeup_academics
Files:
3 edited

Legend:

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

    r452 r454  
    119119    <span tal:content="info/type">ID</span>
    120120  </td>
    121     <span tal:condition="python: context.portal_type == 'CoursesFolder'">
     121    <span tal:condition="python: info['doc'].portal_type == 'Course'">
    122122      <td>
    123123        <span tal:content="info/semester">ID</span>
     
    128128      <td>
    129129        <span tal:content="info/passmark">ID</span>
     130      </td>
     131    </span>
     132    <span tal:define="docu python: info['doc']"
     133          tal:condition="python: docu.portal_type == 'CourseTicket'">
     134      <td>
     135        <span tal:content="docu/grade">ID</span>
     136      </td>
     137      <td>
     138        <span tal:content="docu/score">ID</span>
     139      </td>
     140    </span>
     141    <span tal:define="docu python: info['doc']"
     142          tal:condition="python: docu.portal_type == 'Student'">
     143      <td>
     144        <span tal:content="info/clearance/matric_no">ID</span>
    130145      </td>
    131146    </span>
  • WAeUP_SRP/trunk/skins/waeup_academics/academics_contents.pt

    r435 r454  
    4242    <span tal:define="redirect python: response.redirect(url)"></span>
    4343  </div>
    44     <span tal:omit-tag="" tal:condition="python:display_buttons or (context.portal_type in ('Certificate','Department'))"
     44    <span tal:omit-tag="" tal:condition="python:display_buttons or context.display_content()"
    4545          tal:content="structure doc/render" />
    4646
  • WAeUP_SRP/trunk/skins/waeup_academics/academics_contents_display_buttons.py

    r371 r454  
    1414
    1515#if context.portal_type in ('Department','Certificate','StudyLevel'):
    16 if context.portal_type in ('Department','StudyLevel',):
     16if context.portal_type in ('Department',
     17                           'StudyLevel',
     18                           'Student',
     19                           'StudentAdmission',
     20                           'StudentClearance',
     21                           'StudentPersonal',
     22                           'StudentStudyCourse',
     23                           'StudentStudyLevel',
     24                           ):
    1725    return None
    1826return 1
Note: See TracChangeset for help on using the changeset viewer.