Ignore:
Timestamp:
13 Oct 2006, 06:43:39 (18 years ago)
Author:
Henrik Bettermann
Message:

academics_contents no longer used

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_academics/academics_index.py

    r653 r681  
    1818
    1919if pm.isAnonymousUser():
    20     return redirect("%s/academics_contents" % context.absolute_url())
    21 
    22 campus = context.portal_catalog(meta_type = "University")[-1].getObject()
    23 
    24 if context.isManager() or context.isStudent():
     20    return redirect("%s/srp_anonymous_view" % context.portal_url())
     21else:
    2522    if context.portal_type == 'AcademicsFolder':
    2623        return context.academics.academics_view()
     
    3734    elif context.portal_type in ('CertificateCourse','Course'):
    3835        return context.academics_document_view()
    39     return redirect("%s/academics_contents" % context.absolute_url())
    40 else:
    41     return redirect("%s/academics_contents" % context.absolute_url())
     36    return redirect("%s/srp_manager_view" % context.portal_url())
    4237
Note: See TracChangeset for help on using the changeset viewer.