Changeset 1254 for WAeUP_SRP/trunk/skins
- Timestamp:
- 9 Jan 2007, 22:41:37 (18 years ago)
- Location:
- WAeUP_SRP/trunk/skins
- Files:
-
- 2 added
- 1 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_student/getMemberInfo.py
r1231 r1254 46 46 info['app_doc'] = student.application.getContent() 47 47 info['clear_doc'] = student.clearance.getContent() 48 #info['password'] = member.getPassword() 48 info['password'] = context.waeup_tool.getCredential(student_id) 49 50 if info['per_doc'].email: 51 info['email'] = info['per_doc'].email 52 else: 53 info['email'] = info['app_doc'].app_email 49 54 50 55 msg=""" … … 53 58 Matriculation Number: %s 54 59 JAMB Registration Number: %s 55 Email address in application data: %s56 Email address in personal data: %s60 Email Address in Application Data: %s 61 Email Address in Personal Data: %s 57 62 Date of Birth: %s 58 Password: 63 Password: %s 59 64 60 65 """ … … 68 73 info['per_doc'].email, 69 74 info['clear_doc'].birthday, 75 info['password'] 70 76 ) 71 77 -
WAeUP_SRP/trunk/skins/waeup_student/mail_password_form.pt
r1231 r1254 11 11 <h3>Mail Authentification Data</h3> 12 12 <br /> 13 <span tal:condition="not:info/ per_doc/email">13 <span tal:condition="not:info/email"> 14 14 Sorry, the student did not provide an email address. 15 15 </span> 16 <span tal:condition="info/ per_doc/email">16 <span tal:condition="info/email"> 17 17 <form id="form1" name="form1" method="post" action="mail2student"> 18 18 … … 22 22 tal:attributes="value python:member.getProperty('email',None)"/> 23 23 <input type="hidden" name="student_email" type="text" id="student_email" 24 tal:attributes="value info/ per_doc/email"/>24 tal:attributes="value info/email"/> 25 25 26 26 <table width="100%" border="0" cellspacing="5" cellpadding="0"> … … 38 38 </td> 39 39 <td> 40 <span tal:content="info/ per_doc/email" />40 <span tal:content="info/email" /> 41 41 </td> 42 42 </tr> 43 43 <tr> 44 44 <td> 45 <strong>Subject Line: </strong>45 <strong>Subject: </strong> 46 46 </td> 47 47 <td> … … 70 70 </form> 71 71 </span> 72 <form tal:attributes="action string: ${context/portal_url}/campus/students" method="post" class="group">72 <form action="mail_next_student" method="post" class="group"> 73 73 <input type="submit" class="context" value="Next Student Id" /> 74 <input name=" id" type="text" size="8">74 <input name="student_id" type="text" size="8"> 75 75 </form> 76 76 </span> -
WAeUP_SRP/trunk/skins/waeup_student/student_view.pt
r1220 r1254 40 40 </td> 41 41 </tr> 42 <tr tal:condition="python:info['member'].id in ('admin','joachim','kehindesamuel','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>52 42 </table> 43 44 45 <span tal:condition="python:info['member'].id in ('admin','joachim','kehindesamuel','med',)"> 46 <br /> 47 <form action="mail_password_form" method="post" class="group"> 48 <input type="submit" class="context" value="Send Email with Authentification Data" /> 49 </form> 50 </span> 51 52 53 53 54 54 55 <table tal:condition="is_student" class="contentListing" width="" summary="content layout" id="folder_content">
Note: See TracChangeset for help on using the changeset viewer.