source: WAeUP_SRP/branches/joachim-event-branch/skins/waeup_student/layout_application_view_info.pt @ 16400

Last change on this file since 16400 was 1596, checked in by joachim, 18 years ago

merged changes from trunk to joachim-event-branch

  • Property svn:keywords set to Id
File size: 2.3 KB
Line 
1<!-- a layout_lib macro -->
2<!-- $Id: layout_application_view_info.pt 1596 2007-03-19 21:45:44Z joachim $ -->
3<metal:block define-macro="default_view"
4  tal:define="layout options/layout;
5              dm options/datastructure/getDataModel;
6              widgets python:context.getRenderedWidgets(layout);
7              info context/getStudentBaseInfo;"
8              >
9 
10      <tal:block define="cell widgets/passport;
11                         widget cell/widget">
12          <img src="img" tal:replace="structure cell/widget_rendered" />
13      </tal:block>
14     
15      <br />
16
17      <table width="" cellpadding="2" cellspacing="0" summary="Form layout">
18        <tr>
19          <td valign="top" width="180px"><span class="dlabel">Name</span>:
20          </td>
21          <td>
22            <span tal:content="info/student/name" />
23          </td>     
24        </tr>
25        <tr>
26          <td valign="top" width="180px"><span class="dlabel">Sex</span>:
27          </td>
28          <td>
29            <span tal:content="info/student/sex" />
30          </td>     
31        </tr>         
32        <tr valign="top">
33          <td><span class="dlabel">Student ID</span>:
34          </td>
35          <td>
36            <span tal:content="info/id" />
37          </td>     
38        </tr>
39        <tr valign="top">
40          <td><span class="dlabel">Matriculation No</span>:
41          </td>
42          <td>
43            <span tal:content="info/student/matric_no" />
44          </td>     
45        </tr>       
46        <tr valign="top">
47          <td><span class="dlabel">JAMB Registration No</span>:
48          </td>
49          <td>
50            <span tal:content="info/student/jamb_reg_no" />
51          </td>     
52        </tr>   
53        <tr valign="top">
54          <td><span class="dlabel">Email</span>:
55          </td>
56          <td>
57            <span tal:content="info/student/email" />
58          </td>     
59        </tr>         
60        <tr valign="top">
61          <td><span class="dlabel">Phone</span>:
62          </td>
63          <td>
64            <span tal:content="info/student/phone" />
65          </td>     
66        </tr>         
67        <tr valign="top">
68          <td><span class="dlabel">Level</span>:
69          </td>
70          <td>
71            <span tal:content="info/student/level" />
72          </td>     
73        </tr>           
74      </table>
75       
76       
77
78</metal:block>
Note: See TracBrowser for help on using the repository browser.