Ignore:
Timestamp:
26 Nov 2007, 09:45:58 (17 years ago)
Author:
Henrik Bettermann
Message:

don't show score 0

show carry-over courses on slip properly

File:
1 edited

Legend:

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

    r2760 r2761  
    7777      <br />
    7878      <table tal:condition="python: 1" class="contentListing" width="100%" summary="content layout" id="folder_content">
     79
     80        <tr>
     81        <th tal:attributes="colspan python: test(show_check_boxes,'2','1')">Both Semesters</th>
     82        <th align='center'></th>
     83        <th align='center'>sm</th>
     84        <th align='center'>cr</th>
     85        <th align='center'>sc</th>
     86        <th align='center'>gr</th>
     87        <th align='center'>wt</th>
     88        <th align='center'></th>
     89        <th tal:condition="submission_allowed" align='center'></th>   
     90           
     91        </tr>         
    7992        <tr tal:repeat="row info/carry_overs"
    8093            tal:attributes="class python:test(repeat['row'].even(), 'even ajaxtd', 'odd ajaxtd')">
     
    128141        <th align='center'>wt</th>
    129142        <th align='center'></th>
    130         <th align='center'></th>   
     143        <th tal:condition="submission_allowed" align='center'></th>   
    131144           
    132145        </tr>               
     
    206219      <br />
    207220     
    208       <table tal:condition="python: is_student and submission_allowed and show_check_boxes" width="100%" cellspacing="0" cellpadding="2"
     221      <table tal:condition="python: is_student and show_check_boxes" width="100%" cellspacing="0" cellpadding="2"
    209222             class="folderButtons">
    210223        <tr>
     
    283296        </tr>
    284297      </table>
    285       <table tal:condition="python:is_ca and is_current_level" width="100%" cellspacing="0" cellpadding="2"
     298      <table tal:condition="python:is_ca and is_current_level and not has_verdict" width="100%" cellspacing="0" cellpadding="2"
    286299             class="folderButtons">
    287300        <tr>
    288301          <td align="left" valign="top" rowspan="3"></td>
    289302          <td align="left" valign="top">
    290               <input tal:condition="submission_allowed"
     303              <input tal:condition="show_check_boxes"
    291304                     type="button" value="Select all" class="context"
    292305                     onclick="someJavaScriptFunctionThatWillBeReplaced"
     
    295308                     % (cpsmcat('button_select_all'), cpsmcat('button_deselect_all'))"
    296309                     />
    297               <input tal:condition="submission_allowed"
     310              <input tal:condition="show_check_boxes"
    298311                     type="submit" name="delete_course_result:method" value="Delete selected"
    299312                     class="destructive" i18n:attributes="value"
     
    301314                     ('Do you really want to delete the courses selected?', )"
    302315                     />
    303               <input tal:condition="submission_allowed"
     316              <input tal:condition="show_check_boxes"
    304317                     type="submit" name="refresh_level:method"
    305318                     class="context" value="Update"
Note: See TracChangeset for help on using the changeset viewer.