Ignore:
Timestamp:
15 Jan 2007, 22:46:27 (18 years ago)
Author:
Henrik Bettermann
Message:

duplicate workflow transition removed
workflow portlet slightly changed

Location:
WAeUP_SRP/trunk/skins/waeup_student
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_student/getStudentWorkflowInfo.py

    r1286 r1304  
    2828info['url'] = student.absolute_url()
    2929review_state = info['review_state'] = wf.getInfoFor(student,'review_state',None)
    30 info['returning'] = review_state in  ('returning',
     30info['cr'] = review_state in  ('returning',
    3131                                           'school_fee_paid',
    3232                                           'courses_registered',
    3333                                           'courses_validated',
    3434                                           )
     35
    3536return info
  • WAeUP_SRP/trunk/skins/waeup_student/portlet_student_workflow_display.pt

    r1286 r1304  
    33           condition="context/isStudent">       
    44
    5 <table class="registration" tal:condition="not:info/returning">
     5<table class="registration" tal:condition="not:info/cr">
    66  <span tal:condition="python:path('info/review_state')=='application_pin_entered'">
    77  <tr><td class="active">
     
    102102</table>
    103103
    104 <table class="registration" tal:condition="info/returning">
     104<table class="registration" tal:condition="info/cr">
    105105  <span tal:condition="python:info['review_state']=='returning'">
    106106  <tr><td class="active">
     
    108108    Returning
    109109    </a>
    110   </td></tr>
    111   </span>
    112   <span tal:condition="python:info['review_state']!='returning'">
    113   <tr><td>
    114     Returning
    115110  </td></tr>
    116111  </span>
Note: See TracChangeset for help on using the changeset viewer.