Changeset 670 for WAeUP_SRP/trunk/skins


Ignore:
Timestamp:
12 Oct 2006, 16:36:03 (18 years ago)
Author:
joachim
Message:

passport_entry_view can only be called in student-context

File:
1 edited

Legend:

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

    r607 r670  
    44      <span tal:condition="not: info">
    55        <metal:block use-macro="here/error_not_found/macros/not_found" />
     6      </span>
     7      <span tal:condition="python: context.portal_type != 'Student'">
     8        <span tal:define="dummy python: request.RESPONSE.redirect('%s' % info['url'])" />
    69      </span>
    710      <span tal:condition="info"
Note: See TracChangeset for help on using the changeset viewer.