Changeset 3106 for WAeUP_SRP


Ignore:
Timestamp:
4 Feb 2008, 16:25:00 (17 years ago)
Author:
Henrik Bettermann
Message:

do not show score in Benin

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/base/skins/waeup_student/new_session_results_slip.pt

    r3090 r3106  
    11<metal:body use-macro="here/slip_template/macros/master">
    22    <metal:main fill-slot="main"
    3                 tal:define="info context/getStudyLevelInfo">
     3                tal:define="info context/getStudyLevelInfo;
     4                            with_score not: info/without_score|nothing;">
    45    <span tal:condition="not: info">
    56      <span tal:content="here/illegal_view" />
     
    4243          <td align="center" width="2%"><span tal:content="row/semester" /></td>
    4344          <td align="center" width="2%" tal:content="row/credits"></td>
    44           <td align="center" width="4%" tal:content="row/score"></td>
     45          <td tal:condition="with_score" align="center" width="4%" tal:content="row/score"></td>
    4546          <td align="center" width="2%" tal:content="row/grade"></td>
    4647          <td align="center" width="2%" tal:content="row/weight"></td>
     
    6465        <th align='center'>sm</th>
    6566        <th align='center'>cr</th>
    66         <th align='center'>sc</th>
     67        <th tal:condition="with_score" align='center'>sc</th>
    6768        <th align='center'>gr</th>
    6869        <th align='center'>wt</th>
     
    7677          <td align="center" width="2%"><span tal:content="row/semester" /></td>
    7778          <td align="center" width="2%" tal:content="row/credits"></td>
    78           <td align="center" width="4%" tal:content="row/score"></td>
     79          <td tal:condition="with_score" align="center" width="4%" tal:content="row/score"></td>
    7980          <td align="center" width="2%" tal:content="row/grade"></td>
    8081          <td align="center" width="2%" tal:content="row/weight"></td>
     
    9192          <td align="center" width="2%"><span tal:content="row/semester" /></td>
    9293          <td align="center" width="2%" tal:content="row/credits"></td>
    93           <td align="center" width="4%" tal:content="row/score"></td>
     94          <td tal:condition="with_score" align="center" width="4%" tal:content="row/score"></td>
    9495          <td align="center" width="2%" tal:content="row/grade"></td>
    9596          <td align="center" width="2%" tal:content="row/weight"></td>
     
    105106      <tr><th>sm:</th> <td>Semester</td></tr>
    106107      <tr><th>cr:</th> <td>Credits</td></tr>
    107       <tr><th>sc:</th> <td>Score</td></tr>
     108      <tr tal:condition="with_score"><th>sc:</th> <td>Score</td></tr>
    108109      <tr><th>gr: </th> <td>Grade</td></tr>
    109110      <tr><th>wt: </th> <td>Weight</td></tr>
Note: See TracChangeset for help on using the changeset viewer.