Ignore:
Timestamp:
26 Feb 2007, 15:39:56 (18 years ago)
Author:
Henrik Bettermann
Message:

beautifying

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

Legend:

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

    r1458 r1497  
    1 ## Script (Python) "getVerdict"
     1## Script (Python) "getEntryMode"
    22##bind container=container
    33##bind context=context
  • WAeUP_SRP/trunk/skins/waeup_student/getSessionResults.py

    r1468 r1497  
    100100if student_from_cat.verdict:
    101101    verdict_voc = context.portal_vocabularies.verdicts
    102     info['verdict'] = verdict_voc.get(student_from_cat.verdict)
     102    info['verdict'] = verdict_voc.get(student_from_cat.verdict).upper()
    103103else:
    104     info['verdict'] = 'N/A'   
     104    info['verdict'] = 'N/A'
    105105
    106106if student_from_cat.level:
  • WAeUP_SRP/trunk/skins/waeup_student/study_course_view.pt

    r1494 r1497  
    2121    </metal:block>
    2222    <metal:main fill-slot="main">
    23       <span tal:omit-tag="" tal:condition="python:1"
    24             tal:content="structure python: info['doc'].render(layout_mode='view')" />
    2523      <table tal:define="sc python: info['course_doc']">
     24        <tr>
     25          <td width="220px">Certificate Code:</td>
     26          <td><span tal:content="info/doc/study_course" /></td>
     27        </tr>
     28        <tr>
     29          <td width="220px">Current Study Level:</td>
     30          <td><span tal:content="python:context.portal_vocabularies.courselevel.get(info['doc'].current_level)" /></td>
     31        </tr>
     32        <tr>
     33          <td width="220px">Current Verdict:</td>
     34          <td><span tal:content="python:context.portal_vocabularies.verdicts.get(info['doc'].current_verdict).upper()" /></td>
     35        </tr>
    2636        <tr>
    2737          <td width="220px">Certificate:</td>
Note: See TracChangeset for help on using the changeset viewer.