Index: WAeUP_SRP/trunk/skins/waeup_student/getStudentInfo.py
===================================================================
--- WAeUP_SRP/trunk/skins/waeup_student/getStudentInfo.py	(revision 670)
+++ WAeUP_SRP/trunk/skins/waeup_student/getStudentInfo.py	(revision 672)
@@ -62,4 +62,8 @@
 
 items = []
+s_edit_links = {'StudentApplication': 'student_edit',
+              'StudentAccommodation': '',
+              'StudentPersonal': '',
+              }
 sos = context.portal_catalog(container_path=student_path)
 for so in sos:
@@ -72,5 +76,7 @@
     row['type'] = so.portal_type
     row['is_editable'] = mtool.checkPermission('Modify portal content', soo)
+    row['s_edit_link'] = "%s/%s" % (student.absolute_url(),s_edit_links[so.portal_type])
     row['review_state'] = so.review_state
+    row['display'] = so.review_state in ('opened','closed')
     items.append(row)
 info['items'] = items
Index: WAeUP_SRP/trunk/skins/waeup_student/layout_application_edit.pt
===================================================================
--- WAeUP_SRP/trunk/skins/waeup_student/layout_application_edit.pt	(revision 670)
+++ WAeUP_SRP/trunk/skins/waeup_student/layout_application_edit.pt	(revision 672)
@@ -15,9 +15,7 @@
   widgets python:context.getRenderedWidgets(layout);
   ">
-  <span tal:condition="python: 0" tal:replace="structure widgets" />
   <form action="" id="editForm" method="post" 
         enctype="multipart/form-data" class="workflow"
         tal:attributes="action formaction"
-        
         >
   <table class="layoutDefault" summary="Form layout"
@@ -71,5 +69,6 @@
       </span>
     </span>
-    <tr tal:condition="widgets/passport|nothing" tal:define="cell widgets/passport|nothing;">
+    <tr tal:condition="widgets/passport|nothing" 
+        tal:define="cell widgets/passport|nothing;">
       <tal:block tal:define="widget cell/widget;
       wid widget/getWidgetId;
Index: WAeUP_SRP/trunk/skins/waeup_student/passport_entry_view.pt
===================================================================
--- WAeUP_SRP/trunk/skins/waeup_student/passport_entry_view.pt	(revision 670)
+++ WAeUP_SRP/trunk/skins/waeup_student/passport_entry_view.pt	(revision 672)
@@ -15,5 +15,6 @@
               tal:content="structure python: info['app_doc'].render(proxy=info['app_doc'],
               layout_mode='edit', 
-              layout_id='student_application_fe')" 
+              layout_id='student_application_fe',
+              )" 
               />
       </span>
Index: WAeUP_SRP/trunk/skins/waeup_student/student_view.pt
===================================================================
--- WAeUP_SRP/trunk/skins/waeup_student/student_view.pt	(revision 670)
+++ WAeUP_SRP/trunk/skins/waeup_student/student_view.pt	(revision 672)
@@ -38,5 +38,5 @@
         <table tal:condition="is_student" class="contentListing" width="100%" summary="content layout" id="folder_content">      
           <span tal:repeat="row rows">
-          <tr tal:condition="python:row['type'] == 'StudentApplication' and row['review_state'] in ['opened', 'closed']"
+          <tr tal:condition="row/display"
             tal:attributes="class python:test(repeat['row'].even(), 'even ajaxtd', 'odd ajaxtd')">
             <td><a href="view" tal:attributes="href string:${row/url}/application_view">
@@ -44,5 +44,5 @@
             <td> 
             <a tal:condition="row/is_editable"
-                href="edit" tal:attributes="href string:${info/url}/passport_entry_view">
+                href="edit" tal:attributes="href string:${row/s_edit_link}">
                 [edit]
             </a> 
