Ignore:
Timestamp:
2 Sep 2016, 05:42:16 (8 years ago)
Author:
Henrik Bettermann
Message:

In AAUE only editable tickets are shown.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.aaue/trunk/src/waeup/aaue/students/browser_templates/editscorespage.pt

    r13941 r14149  
    8484    </thead>
    8585    <tbody>
    86     <tr tal:repeat="ticket view/tickets">
     86    <tr tal:repeat="ticket view/editable_tickets">
    8787      <td tal:content="ticket/student/matric_number">MATRIC_NUMBER</td>
    8888      <td tal:content="ticket/student/reg_number">REG_NUMBER</td>
     
    9191      <td tal:content="ticket/student/certcode">CERTCODE</td>
    9292      <td tal:content="ticket/level">LEVEL</td>
    93       <td tal:condition="ticket/editable_by_lecturer" style="width: 65px;">
     93      <td style="width: 65px;">
    9494          <input type="text" name="scores:list" class="form-control"
    9595                 tal:attributes="value ticket/score" />
     
    9797                 tal:attributes="value ticket/student/student_id" />
    9898      </td>
    99       <td tal:condition="ticket/editable_by_lecturer" style="width: 65px;">
     99      <td style="width: 65px;">
    100100          <input type="text" name="cas:list" class="form-control"
    101101                 tal:attributes="value ticket/ca" />
    102102      </td>
    103       <td tal:condition="not: ticket/editable_by_lecturer"
    104           tal:content="ticket/score">SCORE</td>
    105       <td tal:condition="not: ticket/editable_by_lecturer"
    106           tal:content="ticket/ca">CA</td>
    107103    </tr>
    108104    </tbody>
Note: See TracChangeset for help on using the changeset viewer.