Changeset 1036


Ignore:
Timestamp:
12 Dec 2006, 21:18:20 (18 years ago)
Author:
Henrik Bettermann
Message:

redirect for anonymous

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

Legend:

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

    r1035 r1036  
    3131wftool = context.portal_workflow
    3232info = context.getStudentInfo()
     33
     34
     35#'Sorry, you are not allowed to access this page!'
     36if info == None:
     37        #return REQUEST.RESPONSE.redirect(context.portal_url())
     38        return REQUEST.RESPONSE.redirect(context.standard_error_message())
     39       
    3340
    3441student = info['student']
  • WAeUP_SRP/trunk/skins/waeup_student/clearance_edit_form.pt

    r1030 r1036  
    22<metal:block tal:define="info context/getStudentInfo">
    33  <span tal:condition="not: info">
    4     <metal:block use-macro="here/error_not_found/macros/not_found" />
     4    <metal:block use-macro="here/standard_error_message" />
    55  </span>
    66<metal:block tal:condition="info">
Note: See TracChangeset for help on using the changeset viewer.