Index: WAeUP_SRP/trunk/skins/waeup_student/getStudentInfo.py
===================================================================
--- WAeUP_SRP/trunk/skins/waeup_student/getStudentInfo.py	(revision 735)
+++ WAeUP_SRP/trunk/skins/waeup_student/getStudentInfo.py	(revision 739)
@@ -25,5 +25,5 @@
 member_id = str(member)
 if student is None:
-    if context.isManager():
+    if context.isManager() and 'students' in context.getPhysicalPath():
         if context.portal_type == 'Student':
             student_id = context.getId()
@@ -31,9 +31,9 @@
             student_id = context.aq_parent.getId()
         elif context.aq_parent.aq_parent.portal_type == 'Student':
-            student_id = context.aq_parent.aq_parent.getId()    
+            student_id = context.aq_parent.aq_parent.getId()
         elif context.aq_parent.aq_parent.aq_parent.portal_type == 'Student':
-            student_id = context.aq_parent.aq_parent.aq_parent.getId()   
+            student_id = context.aq_parent.aq_parent.aq_parent.getId()
         else:
-            student_id = member_id            
+            student_id = member_id
     else:
         student_id = member_id
@@ -87,5 +87,5 @@
     row['type'] = so.portal_type
     row['is_editable'] = mtool.checkPermission('Modify portal content', soo)
-    sv_link = s_view_links.get(so.portal_type,None) or "academics_document_view"
+    sv_link = s_view_links.get(so.portal_type,None) or "waeup_document_view"
     row['s_view_link'] = "%s/%s" % (soo.absolute_url(),sv_link)
     se_link = s_edit_links.get(so.portal_type,None)
