Ignore:
Timestamp:
17 Dec 2006, 16:39:44 (18 years ago)
Author:
joachim
Message:

clearance_edit speed improvments.

File:
1 edited

Legend:

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

    r1036 r1073  
    11<metal:block define-macro="clearance_edit_form">
    2 <metal:block tal:define="info context/getStudentInfo">
     2<metal:block tal:define="info context/getClearanceInfo">
    33  <span tal:condition="not: info">
    44    <metal:block use-macro="here/standard_error_message" />
     
    1212           review_state info/review_state;
    1313           clear_review_state info/clear_review_state;
    14            editable python: (is_student and clear_review_state == 'opened' or is_so) and not is_co;
     14           editable python:not is_co and (is_student and clear_review_state == 'opened' or is_so);
    1515           mode python: test(editable,'edit','view');
    1616           layout_id python: test(is_so,'student_clearance','student_clearance_fe');
Note: See TracChangeset for help on using the changeset viewer.