Ignore:
Timestamp:
19 Mar 2007, 12:54:39 (18 years ago)
Author:
Henrik Bettermann
Message:

fixed

Location:
WAeUP_SRP/trunk/skins/waeup_student
Files:
1 added
1 deleted
4 edited

Legend:

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

    r1587 r1588  
    167167                <input tal:condition="python: review_state in ('courses_registered', 'courses_validated',)" type="submit" name="reject_courses:method"
    168168                       class="context" value="Reject" />
    169                        
    170                 <input type="hidden" name="action" type="text" id="action"
    171                        tal:attributes="value string:/external_study_level_view"/>   
    172                 <input type="hidden" name="contin" type="text" id="contin"
    173                        tal:attributes="value string:/contact_student_form_2"/>                                             
     169
     170                <input type="hidden" name="action_after_validate" type="text" id="action_after_validate"
     171                       tal:attributes="value string:external_study_level_view"/>                         
     172                <input type="hidden" name="action_after_reject" type="text" id="action_after_reject"
     173                       tal:attributes="value string:external_contact_student_form"/>   
     174                                           
    174175
    175176            </td>
  • WAeUP_SRP/trunk/skins/waeup_student/reject_courses.py

    r1587 r1588  
    55##bind script=script
    66##bind subpath=traverse_subpath
    7 ##parameters=REQUEST, student=None, action=None, contin=None
     7##parameters=REQUEST, student=None, action_after_reject=None, action_after_validate=None
    88##title=
    99##
     
    3838subject = "Course list rejected"
    3939args['subject'] = subject
    40 args['continue'] = contin
     40args['continue'] = action_after_validate
    4141args['portal_status_message'] = psm
    42 url = context.absolute_url() + action + '?' + urlencode(args)
     42url = context.absolute_url() + '/' + action_after_reject + '?' + urlencode(args)
    4343return REQUEST.RESPONSE.redirect(url)
    4444
  • WAeUP_SRP/trunk/skins/waeup_student/study_level_view.pt

    r1587 r1588  
    175175                       class="context" value="Reject" />
    176176                       
    177                 <input type="hidden" name="action" type="text" id="action"
    178                        tal:attributes="value string:/study_level_view"/> 
    179                 <input type="hidden" name="contin" type="text" id="contin"
    180                        tal:attributes="value string:/contact_student_form"/>                                             
     177                <input type="hidden" name="action_after_validate" type="text" id="action_after_validate"
     178                       tal:attributes="value string:/study_level_view"/>                         
     179                <input type="hidden" name="action_after_reject" type="text" id="action_after_reject"
     180                       tal:attributes="value string:/contact_student_form"/>   
     181                                             
    181182
    182183            </td>
  • WAeUP_SRP/trunk/skins/waeup_student/validate_courses.py

    r1587 r1588  
    55##bind script=script
    66##bind subpath=traverse_subpath
    7 ##parameters=student=None, action=None
     7##parameters=student=None, action_after_reject=None, action_after_validate=None
    88##title=
    99##
     
    3232
    3333psm = 'portal_status_message=Course list validated!'
    34 url = context.absolute_url() + action +  '?' + psm
     34url = context.absolute_url() + '/' + action_after_validate +  '?' + psm
    3535return request.RESPONSE.redirect(url)
    3636
Note: See TracChangeset for help on using the changeset viewer.