Changeset 513


Ignore:
Timestamp:
13 Sep 2006, 11:27:56 (18 years ago)
Author:
joachim
Message:

application slip now displays picture

Location:
WAeUP_SRP/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/Widgets.py

    r511 r513  
    312312        b = datastructure[widget_id+'_b'].strip()
    313313        n = datastructure[widget_id+'_n'].strip()
    314         #import pdb; pdb.set_trace()
    315314        pins = self.portal_pins
    316315        pin = "%(p)s%(b)s%(n)s" % vars()
     
    331330                    break
    332331                s_id = student.getId()
     332                if self.portal_workflow.getInfoFor(student,
     333                                                   'review_state',
     334                                                   None) =="created":
     335                    student.content_status_modify(workflow_action="enter_application_pin")
    333336                if ok == 2:
    334337                    break
    335338                student.getContent().makeStudentMember(s_id,password=pin[4:])
    336                 #student.getContent().createSubObjects()
    337339            break
    338340        if err:
  • WAeUP_SRP/trunk/skins/waeup_student/application_slip.pt

    r509 r513  
    2222      <table cellpadding="10em" cellspacing="">
    2323      <tr>
    24       <td valign="top"><span tal:content="here/downloadFile/passport" /></td>
     24      <td valign="top">
     25        <img tal:condition="application_data/passport|nothing"
     26             tal:attributes="src string:${context/absolute_url}/passport"/>
     27            </td>
     28
    2529      <td>
    2630     
Note: See TracChangeset for help on using the changeset viewer.