Changeset 3817
- Timestamp:
- 15 Dec 2008, 14:51:19 (16 years ago)
- Location:
- WAeUP_SRP/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/WAeUPTool.py
r3812 r3817 763 763 ###) 764 764 765 766 security.declarePublic('getOfficerName') ###( 767 def getOfficerName(self,mid): 768 """get the real name of a member""" 769 membership = self.portal_membership 770 member_record = membership.getMemberById(mid) 771 return member_record.getProperty('fullname',None) 772 ###) 773 774 765 775 security.declarePublic('makeStudentMember') ###( 766 776 def makeStudentMember(self,sid,password='uNsEt'): -
WAeUP_SRP/trunk/skins/waeup_layout/layout_clearance_view.pt
r3814 r3817 45 45 </span> 46 46 47 <span tal:define="mtool here/portal_membership; 48 co_id context/clearance_officer|nothing;" 47 <span tal:define="co_id context/clearance_officer|nothing;" 49 48 tal:condition="co_id"> 50 <tr tal:define="co_member python: mtool.getMemberById(co_id);">49 <tr tal:define="co_member python:context.waeup_tool.getOfficerName(co_id);"> 51 50 <td>Cleared By:</td> 52 <td><span tal:content=" python:co_member.getProperty('fullname',None)" /></td>51 <td><span tal:content="co_member" /></td> 53 52 </tr> 54 53 </span>
Note: See TracChangeset for help on using the changeset viewer.