Ignore:
Timestamp:
15 Oct 2010, 06:49:26 (14 years ago)
Author:
Henrik Bettermann
Message:

FCEOkene: show both course_registration_slip and examination_slip

course_registration_slip.pt: schow 'validated by system' if no validated_by string

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_student/course_registration_slip.pt

    r4305 r5569  
    1313          is_student info/is_student;
    1414          validated info/validated;
     15          cv_id info/doc/validated_by|nothing;
     16          cv_member python:context.waeup_tool.getOfficerName(cv_id);         
    1517          ">
    1618      <h3>Course Registration Slip for <span tal:content="info/level_str" /></h3>
    17       <br />
    18       <div tal:condition="validated">
    19         - validated by <span tal:condition="info/doc/validated_by|nothing" tal:omit-tag="">
    20           <span tal:replace="info/doc/validated_by" /> on <span tal:replace="python:info['doc'].validation_date.aCommon()" />
    21         </span> -
     19      <div tal:condition="python: validated and cv_id">
     20        <br />
     21        - validated by
     22            <span tal:replace="cv_member" /> on <span tal:replace="python:info['doc'].validation_date.aCommon()" /> -
     23        <br />
    2224      </div>
    2325      <div tal:condition="not: validated">
     26        <br />
    2427        - not yet validated by Course Adviser -
     28        <br />
    2529      </div>
    26       <br />
     30      <div tal:condition="python: validated and not cv_id">
     31        <br />
     32        - validated by system -
     33        <br />
     34      </div>     
    2735      <span tal:omit-tag=""
    2836            tal:content="structure python: info['app_doc'].render(proxy=info['app_doc'],
Note: See TracChangeset for help on using the changeset viewer.