Changeset 1587 for WAeUP_SRP/trunk


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

fixed

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

Legend:

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

    r1584 r1587  
    168168                       class="context" value="Reject" />
    169169                       
    170                 <input type="hidden" name="redir" type="text" id="redir"
    171                        tal:attributes="value string:/external_study_level_view"/>                       
     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"/>                                             
    172174
    173175            </td>
  • WAeUP_SRP/trunk/skins/waeup_student/reject_courses.py

    r1575 r1587  
    55##bind script=script
    66##bind subpath=traverse_subpath
    7 ##parameters=REQUEST, student=None
     7##parameters=REQUEST, student=None, action=None, contin=None
    88##title=
    99##
     
    3434
    3535args = {}
    36 action = "/contact_student_form_2"
     36
    3737psm = "Student's course list has been rejected! Please fill and submit the form below!"
    3838subject = "Course list rejected"
    3939args['subject'] = subject
    40 args['continue'] = 'study_level_view'
     40args['continue'] = contin
    4141args['portal_status_message'] = psm
    4242url = context.absolute_url() + action + '?' + urlencode(args)
  • WAeUP_SRP/trunk/skins/waeup_student/study_level_view.pt

    r1584 r1587  
    175175                       class="context" value="Reject" />
    176176                       
    177                 <input type="hidden" name="redir" type="text" id="redir"
    178                        tal:attributes="value string:/study_level_view"/>                       
     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"/>                                             
    179181
    180182            </td>
  • WAeUP_SRP/trunk/skins/waeup_student/validate_courses.py

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