Ignore:
Timestamp:
21 Feb 2007, 16:46:50 (18 years ago)
Author:
Henrik Bettermann
Message:

email from catalog not from app object

Location:
WAeUP_SRP/trunk/skins/waeup_student
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_student/contact_student_form.pt

    r1220 r1455  
    22    <metal:main fill-slot="main"
    33                tal:define="member python:context.portal_membership.getAuthenticatedMember();
    4                         info context/getApplicationInfo;
     4                        info context/getStudentBaseInfo;
    55                        ">
    66      <span tal:condition="not: info">
     
    1111      <h3>Contact Student</h3>
    1212      <br />
    13       <span tal:condition="not:info/app_doc/app_email">
     13      <span tal:condition="not:info/student/email">
    1414      Sorry, the student did not provide an email address.
    1515      </span>
    16       <span tal:condition="info/app_doc/app_email">
     16      <span tal:condition="info/student/email">
    1717      <form id="form1" name="form1" method="post" action="mail2student">
    1818
     
    2222             tal:attributes="value python:member.getProperty('email',None)"/>             
    2323      <input type="hidden" name="student_email" type="text" id="student_email"
    24              tal:attributes="value info/app_doc/app_email"/>                   
     24             tal:attributes="value info/student/email"/>                   
    2525
    2626      <table width="100%" border="0" cellspacing="5" cellpadding="0">
     
    3030          </td>
    3131          <td>
    32              <span tal:content="info/student/Title" />
     32             <span tal:content="info/student/name" />
    3333          </td>
    3434        </tr>
     
    3838          </td>
    3939          <td>
    40              <span tal:content="info/app_doc/app_email" />
     40             <span tal:content="info/student/email" />
    4141          </td>
    4242        </tr>
  • WAeUP_SRP/trunk/skins/waeup_student/mail_password_form.pt

    r1448 r1455  
    2828          <td>
    2929             <span tal:condition="info/student/Title" tal:content="info/student/Title" />
    30              <span tal:condition="not:info/student/Title">na</span>
     30             <span tal:condition="not:info/student/Title">N/A</span>
    3131          </td>
    3232        </tr>
  • WAeUP_SRP/trunk/skins/waeup_student/support_form.pt

    r1161 r1455  
    1 <metal:html tal:define="info context/getApplicationInfo;">
     1<metal:html tal:define="info context/getStudentBaseInfo;">
    22  <span tal:condition="not: info">
    33    <span tal:content="here/illegal_view" />
     
    1818          <td>
    1919             <input name="fullname" type="text" id="fullname"
    20                     tal:attributes="value info/student/Title"/>
     20                    tal:attributes="value info/student/name"/>
    2121          </td>
    2222        </tr>
     
    2727          <td>
    2828             <input name="email" type="text" id="email"
    29                     tal:attributes="value info/app_doc/app_email"/>
     29                    tal:attributes="value info/student/email"/>
    3030          </td>
    3131        </tr>
Note: See TracChangeset for help on using the changeset viewer.