Changeset 1418
- Timestamp:
- 15 Feb 2007, 12:06:04 (18 years ago)
- Location:
- WAeUP_SRP/trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/profiles/default/layouts/student_create.xml
r1417 r1418 57 57 </widget> 58 58 <widget name="level" meta_type="Select Widget"> 59 <property name="title"> Level</property>59 <property name="title">Current Level</property> 60 60 <property name="fields"> 61 61 <element value="level"/> 62 62 </property> 63 <property name="label"> Level</property>64 <property name="label_edit"> Level</property>63 <property name="label">Current Level</property> 64 <property name="label_edit">Current Level</property> 65 65 <property name="readonly_layout_modes"/> 66 66 <property name="hidden_layout_modes"/> … … 112 112 <property name="label">Study Course</property> 113 113 <property name="label_edit">Study Course</property> 114 <property name="is_required">True</property> 114 115 <property name="readonly_layout_modes"/> 115 116 <property name="hidden_layout_modes"/> -
WAeUP_SRP/trunk/profiles/default/layouts/student_study_course.xml
r1417 r1418 21 21 </widget> 22 22 <widget name="current_level" meta_type="Select Widget"> 23 <property name="title">Current Study level</property>23 <property name="title">Current Study Level</property> 24 24 <property name="fields"> 25 25 <element value="current_level"/> 26 26 </property> 27 27 <property name="is_required">False</property> 28 <property name="label">Current Study level</property>29 <property name="label_edit">Current Study level</property>28 <property name="label">Current Study Level</property> 29 <property name="label_edit">Current Study Level</property> 30 30 <property name="readonly_layout_modes"/> 31 31 <property name="hidden_layout_modes"/> -
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.