Changeset 1214 for WAeUP_SRP/trunk
- Timestamp:
- 6 Jan 2007, 15:42:07 (18 years ago)
- Location:
- WAeUP_SRP/trunk/skins/waeup_student
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_student/getStudentFolderInfo.py
r1185 r1214 78 78 row['type'] = so.portal_type 79 79 review_state = row['review_state'] = so.review_state 80 row['is_editable'] = (is_student and review_state == "opened") or not is_student 80 row['is_editable'] = (is_student and review_state == "opened") or not is_student 81 81 sv_link = s_view_links.get(so.portal_type,None) or "waeup_document_view" 82 82 row['s_view_link'] = "%s/%s" % (url,sv_link) … … 90 90 items.append(row) 91 91 info['items'] = items 92 info['member'] = member 92 93 return info -
WAeUP_SRP/trunk/skins/waeup_student/student_view.pt
r1212 r1214 40 40 </td> 41 41 </tr> 42 <tr tal:condition="is_so"> 43 <td colspan="3"> 44 <a href="" 45 tal:attributes="href string:${context/portal_url}/portal_directories/students/${info/id}/manage_main"> 46 Memberdetails 47 </a> 48 </td> 49 </tr> 42 <tr tal:condition="python:info['member'].id in ('admin','joachim','kehindesamueal','med',)"> 43 <td colspan="3"> 44 <a href="" 45 target="member" 46 onclick="javascript:window.open('','member','width=300, height=300, directories=no, toolbar=no, location=no, menubar=no, scrollbars=yes, status=no, resizable=no, dependent=no')" 47 tal:attributes="href string:${context/portal_url}/portal_directories/students/${info/id}/manage_main"> 48 <strong>Member Record</strong> 49 </a> 50 </td> 51 </tr> 50 52 </table> 51 53
Note: See TracChangeset for help on using the changeset viewer.