Changeset 3814
- Timestamp:
- 12 Dec 2008, 15:23:38 (16 years ago)
- Location:
- WAeUP_SRP/trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/profiles/ois/layouts/student_clearance.xml
r3811 r3814 840 840 <property name="render_format">radio</property> 841 841 </widget> 842 843 844 <widget name="clearance_officer" meta_type="String Widget"> 845 <property name="title">Clearance Officer</property> 846 <property name="fields"> 847 <element value="clearance_officer"/> 848 </property> 849 <property name="label">Clearance Officer</property> 850 <property name="label_edit">Clearance Officer</property> 851 <property name="readonly_layout_modes"> 852 </property> 853 <property name="hidden_layout_modes"> 854 <element value="create"/> 855 </property> 856 <property name="hidden_readonly_layout_modes"/> 857 </widget> 858 859 842 860 <table> 843 861 <row> -
WAeUP_SRP/trunk/profiles/uniben/layouts/student_clearance.xml
r3804 r3814 971 971 <cell name="cleared_date"/> 972 972 </row> 973 <row>974 <cell name="clearance_officer"/>975 </row>976 973 </table> 977 974 </object> -
WAeUP_SRP/trunk/profiles/uniben/layouts/student_clearance_fe.xml
r3804 r3814 958 958 <cell name="cleared_date"/> 959 959 </row> 960 <row>961 <cell name="clearance_officer"/>962 </row>963 960 </table> 964 961 </object> -
WAeUP_SRP/trunk/skins/waeup_layout/layout_clearance_view.pt
r2801 r3814 44 44 </span> 45 45 </span> 46 47 <span tal:define="mtool here/portal_membership; 48 co_id context/clearance_officer|nothing;" 49 tal:condition="co_id"> 50 <tr tal:define="co_member python:mtool.getMemberById(co_id);"> 51 <td>Cleared By:</td> 52 <td><span tal:content="python:co_member.getProperty('fullname',None)" /></td> 53 </tr> 54 </span> 55 46 56 </table> 47 57 </metal:block> -
WAeUP_SRP/trunk/skins/waeup_student/clearance_edit.py
r3746 r3814 80 80 #from Products.zdb import set_trace 81 81 #set_trace() 82 clear_doc.edit(mapping = {'cleared_date': current,}) 82 clear_doc.edit(mapping = {'clearance_officer': member_id, 83 'cleared_date': current,}) 83 84 wftool.doActionFor(info['student'],'clear_and_validate') 84 85 86 85 if clear_doc.firstname and clear_doc.lastname: 87 86 if info['per_review_state'] != 'opened':
Note: See TracChangeset for help on using the changeset viewer.