Ignore:
Timestamp:
21 Sep 2013, 05:12:49 (11 years ago)
Author:
Henrik Bettermann
Message:

Define conditions for score editing. Tests will follow.

File:
1 edited

Legend:

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

    r10627 r10631  
    2525      <td tal:content="ticket/student/current_level">LEVEL</td>
    2626      <td tal:content="ticket/level">LEVEL</td>
    27           <td><input type="text" name="scores" class="span1"
    28                      tal:attributes="value ticket/score" /></td>
     27          <td tal:condition="ticket/editable_by_lecturer">
     28          <input type="text" name="scores" class="span1"
     29                     tal:attributes="value ticket/score" />
     30      </td>
     31      <td tal:condition="not: ticket/editable_by_lecturer"
     32          tal:content="ticket/score">SCORE</td>
    2933        </tr>
    3034    </tbody>
Note: See TracChangeset for help on using the changeset viewer.