source: WAeUP_SRP/trunk/skins/waeup_student/contact_student_form.pt @ 895

Last change on this file since 895 was 895, checked in by Henrik Bettermann, 18 years ago

section managers and clearance officers open clearance edit form only in external window to ease student batch processing

File size: 2.8 KB
Line 
1<metal:html tal:define="member python:context.portal_membership.getAuthenticatedMember();
2                        info context/getStudentInfo;
3                        is_manager info/is_manager|nothing;
4                        is_student info/is_student|nothing;
5                        is_co info/is_co|nothing;
6                        ">
7  <metal:body use-macro="here/main_template/macros/master">
8    <metal:main fill-slot="main">
9      <span tal:condition="not: info">
10        <metal:block use-macro="here/error_not_found/macros/not_found" />
11      </span>
12   
13      <span tal:condition="info">
14      <h3>Contact Student</h3>
15      <br />
16      <span tal:condition="info/app_doc/app_email">
17      <span tal:condition="not:info/app_doc/app_email">
18      Sorry, the student did not provide an email address.
19      </span>
20      <form id="form1" name="form1" method="post" action="mail2student">
21
22      <input type="hidden" name="co_name" type="text" id="co_name"
23             tal:attributes="value python:member.getProperty('fullname',None)"/>
24      <input type="hidden" name="co_email" type="text" id="co_email"
25             tal:attributes="value python:member.getProperty('email',None)"/>             
26      <input type="hidden" name="student_email" type="text" id="student_email"
27             tal:attributes="value info/app_doc/app_email"/>                   
28
29      <table width="100%" border="0" cellspacing="5" cellpadding="0">
30        <tr>
31          <td width="150px">
32             <strong>Student's Name: </strong>
33          </td>
34          <td>
35             <span tal:content="info/student/Title" />
36          </td>
37        </tr>
38        <tr>
39          <td>
40             <strong>Student's Email: </strong>
41          </td>
42          <td>
43             <span tal:content="info/app_doc/app_email" />
44          </td>
45        </tr>
46        <tr>
47          <td>
48             <strong>Type of Rejection: </strong>
49          </td>
50          <td>
51              <select name="probtype" class="boxgreen" id="probtype">
52                <option>Clearance request rejected</option>
53              </select>       
54          </td>
55        </tr>       
56        <tr>
57          <td valign="top">
58             <strong>Your Message:</strong>
59          </td>
60          <td>
61             <textarea name="commt" rows="10" cols="60" id="commt"></textarea>
62          </td>
63        </tr>
64        <tr>
65          <td>&nbsp;</td>
66          <td><input name="Submit" type="submit" class="standalone" value="Submit" /><br /><br /></td>
67        </tr>
68      </table>
69      </form>
70      </span>
71      <form action="." method="post" class="group">
72            <input type="submit" name="external_clearance_edit_form:method"
73                       class="context" value="Continue" />
74      </form>     
75      </span>
76    </metal:main>
77  </metal:body>
78</metal:html>
Note: See TracBrowser for help on using the repository browser.