Changeset 1418 for WAeUP_SRP


Ignore:
Timestamp:
15 Feb 2007, 12:06:04 (18 years ago)
Author:
Henrik Bettermann
Message:

links to athentication mail and student record added

Location:
WAeUP_SRP/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/profiles/default/layouts/student_create.xml

    r1417 r1418  
    5757 </widget>
    5858 <widget name="level" meta_type="Select Widget">
    59   <property name="title">Level</property>
     59  <property name="title">Current Level</property>
    6060  <property name="fields">
    6161   <element value="level"/>
    6262  </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>
    6565  <property name="readonly_layout_modes"/>
    6666  <property name="hidden_layout_modes"/>
     
    112112  <property name="label">Study Course</property>
    113113  <property name="label_edit">Study Course</property>
     114  <property name="is_required">True</property>
    114115  <property name="readonly_layout_modes"/>
    115116  <property name="hidden_layout_modes"/>
  • WAeUP_SRP/trunk/profiles/default/layouts/student_study_course.xml

    r1417 r1418  
    2121 </widget>
    2222 <widget name="current_level" meta_type="Select Widget">
    23   <property name="title">Current Studylevel</property>
     23  <property name="title">Current Study Level</property>
    2424  <property name="fields">
    2525   <element value="current_level"/>
    2626  </property>
    2727  <property name="is_required">False</property>
    28   <property name="label">Current Studylevel</property>
    29   <property name="label_edit">Current Studylevel</property>
     28  <property name="label">Current Study Level</property>
     29  <property name="label_edit">Current Study Level</property>
    3030  <property name="readonly_layout_modes"/>
    3131  <property name="hidden_layout_modes"/>
  • WAeUP_SRP/trunk/skins/waeup_student/add_student.py

    r1417 r1418  
    1313acco_cat = context.portal_accommodation
    1414import logging
    15 logger = logging.getLogger('Student')
     15logger = logging.getLogger('Student.Add')
    1616
    1717validate = REQUEST.has_key("cpsdocument_edit_button") and\
     
    6565dict['password'] = password
    6666student_rec = context.getFormattedStudentEntry(context.students_catalog(id = sid)[0])
    67 psm = "Student created with Id: %s and password: %s" % (sid,password)
     67psm = "Student with Id %s and Password %s created!" % (sid,password)
    6868logger.info('"%s","created student","%s"' % (member,sid))
    6969return context.add_student_form(rendered = rendered,
  • WAeUP_SRP/trunk/skins/waeup_student/add_student_form.pt

    r1415 r1418  
    2525            </tr>               
    2626            <tr>
    27               <td>Name</td>
     27              <td>Name:</td>
    2828              <td tal:content="student/name" />
    2929            </tr>               
     
    4141            </tr>       
    4242            <tr>
    43               <td>Matric No</td>
     43              <td>Matric No:</td>
    4444              <td tal:content="student/matric_no" />
    4545            </tr>               
    4646            <tr>
    47               <td>Study Course</td>
     47              <td>Study Course:</td>
    4848              <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>                 
    5056          </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>
    5160        </span>
    5261        <span tal:condition="python: mode != 'view'" tal:omit-tag="">
Note: See TracChangeset for help on using the changeset viewer.