Changeset 1418 for WAeUP_SRP/trunk/skins
- Timestamp:
- 15 Feb 2007, 12:06:04 (18 years ago)
- Location:
- WAeUP_SRP/trunk/skins/waeup_student
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_student/add_student.py
r1417 r1418 13 13 acco_cat = context.portal_accommodation 14 14 import logging 15 logger = logging.getLogger('Student ')15 logger = logging.getLogger('Student.Add') 16 16 17 17 validate = REQUEST.has_key("cpsdocument_edit_button") and\ … … 65 65 dict['password'] = password 66 66 student_rec = context.getFormattedStudentEntry(context.students_catalog(id = sid)[0]) 67 psm = "Student created with Id: %s and password: %s" % (sid,password)67 psm = "Student with Id %s and Password %s created!" % (sid,password) 68 68 logger.info('"%s","created student","%s"' % (member,sid)) 69 69 return context.add_student_form(rendered = rendered, -
WAeUP_SRP/trunk/skins/waeup_student/add_student_form.pt
r1415 r1418 25 25 </tr> 26 26 <tr> 27 <td>Name </td>27 <td>Name:</td> 28 28 <td tal:content="student/name" /> 29 29 </tr> … … 41 41 </tr> 42 42 <tr> 43 <td>Matric No </td>43 <td>Matric No:</td> 44 44 <td tal:content="student/matric_no" /> 45 45 </tr> 46 46 <tr> 47 <td>Study Course </td>47 <td>Study Course:</td> 48 48 <td tal:content="student/course" /> 49 </tr> 49 </tr> 50 <tr> 51 <td>URL:</td> 52 <td><a tal:attributes="href string:${here/portal_url}/campus/students/${info/sid}"> 53 <span tal:content="string:${here/portal_url}/campus/students/${info/sid}" /> 54 </a></td> 55 </tr> 50 56 </table> 57 <form tal:attributes="action string:${here/portal_url}/campus/students/${info/sid}/mail_password_form" method="post" class="group"> 58 <input type="submit" class="context" value="Send Email with Authentication Data" /> 59 </form> 51 60 </span> 52 61 <span tal:condition="python: mode != 'view'" tal:omit-tag="">
Note: See TracChangeset for help on using the changeset viewer.