Changeset 901


Ignore:
Timestamp:
20 Nov 2006, 07:33:16 (18 years ago)
Author:
Henrik Bettermann
Message:

srp_manager_view and campus_manager_view renamed

Location:
WAeUP_SRP/trunk
Files:
2 deleted
5 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/profiles/default/actions.xml

    r890 r901  
    119119  </action>
    120120  <action title="Students" action_id="view_students" category="navigation"
    121      condition_expr="python:here.isStaff() or here.isManager()" url_expr="string:${portal_url}/campus/students"
     121     condition_expr="python:here.isStaff()" url_expr="string:${portal_url}/campus/students"
    122122     visible="True">
    123123   <permission>View</permission>
  • WAeUP_SRP/trunk/skins/waeup_academics/academics_index.py

    r805 r901  
    3636    elif context.portal_type in ('CertificateCourse','Course'):
    3737        return context.waeup_document_view()
    38     return redirect("%s/srp_manager_view" % context.portal_url())
     38    return redirect("%s/srp_view" % context.portal_url())
    3939
  • WAeUP_SRP/trunk/skins/waeup_accommodation/acco_folder_index.py

    r805 r901  
    2424    elif context.portal_type == 'AccoHall':
    2525        return context.acco_hall_view()
    26     return redirect("%s/srp_manager_view" % context.portal_url())
     26    return redirect("%s/srp_view" % context.portal_url())
    2727else:
    2828    return redirect("%s/srp_anonymous_view" % context.portal_url())
  • WAeUP_SRP/trunk/skins/waeup_default/campus_index.py

    r805 r901  
    2222campus = context.portal_catalog(meta_type = "University")[-1].getObject()
    2323
    24 if context.isManager():
    25     return redirect("%s/campus_manager_view" % campus.absolute_url())
    26 
    2724if context.isStudent():
    2825    return redirect("%s/students_index" % campus.students.absolute_url())
     26else:
     27    return redirect("%s/campus_view" % campus.absolute_url())
    2928
  • WAeUP_SRP/trunk/skins/waeup_default/index_html.py

    r805 r901  
    1919if pm.isAnonymousUser():
    2020    return redirect("%s/srp_anonymous_view" % request.get('URL1'))
     21elif context.isStudent():
     22    return redirect("%s/srp_anonymous_view" % context.absolute_url())
     23else:
     24        return redirect("%s/srp_view" % context.absolute_url())
    2125
    22 if context.isManager():
    23     return redirect("%s/srp_manager_view" % context.absolute_url())
    24 
    25 if context.isStudent():
    26     return redirect("%s/srp_anonymous_view" % context.absolute_url())
    27 
Note: See TracChangeset for help on using the changeset viewer.