Ignore:
Timestamp:
12 Oct 2006, 18:23:28 (18 years ago)
Author:
joachim
Message:

several simplifications to student_index, student_edit must be called instead of passport_entry_view

File:
1 edited

Legend:

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

    r662 r672  
    3838        <table tal:condition="is_student" class="contentListing" width="100%" summary="content layout" id="folder_content">     
    3939          <span tal:repeat="row rows">
    40           <tr tal:condition="python:row['type'] == 'StudentApplication' and row['review_state'] in ['opened', 'closed']"
     40          <tr tal:condition="row/display"
    4141            tal:attributes="class python:test(repeat['row'].even(), 'even ajaxtd', 'odd ajaxtd')">
    4242            <td><a href="view" tal:attributes="href string:${row/url}/application_view">
     
    4444            <td>
    4545            <a tal:condition="row/is_editable"
    46                 href="edit" tal:attributes="href string:${info/url}/passport_entry_view">
     46                href="edit" tal:attributes="href string:${row/s_edit_link}">
    4747                [edit]
    4848            </a>
Note: See TracChangeset for help on using the changeset viewer.