source: WAeUP_SRP/trunk/skins/waeup_custom/standard_error_message.pt @ 790

Last change on this file since 790 was 535, checked in by joachim, 18 years ago

student apply admission should work now
the default_view for campus is now home_index.py
for students and student student_index.py
these script redirect to the appropriate PT

  • Property svn:keywords set to Id
File size: 1.8 KB
Line 
1<metal:html tal:define="showthirdcol nothing;
2                        error_type options/error_type|nothing;
3                        error_value options/error_value|nothing;
4                        error_message options/error_message|nothing;
5                        error_tb options/error_tb|nothing;
6                        error_traceback options/error_traceback|nothing;
7                        error_log_url options/error_log_url|nothing;
8                        p_props here/portal_properties;
9                       ">
10<metal:body use-macro="here/main_template/macros/master">
11
12<metal:main fill-slot="main">
13
14   
15<tal:haserror condition="error_type">
16  <tal:NotFound condition="python:error_type == 'NotFound'">
17    <metal:block use-macro="here/error_not_found/macros/not_found" />
18  </tal:NotFound>
19
20  <tal:default condition="python:error_type != 'NotFound'">
21    <metal:block use-macro="here/error_other/macros/other" />
22  </tal:default>
23
24  <tal:debugging condition="python:checkPerm('Manage portal', here)">
25    <table width="100%" cellpadding="2" cellspacing="2">
26      <tr>
27        <th width="10%">Error Type:</th>
28        <td tal:content="error_type"></td>
29      </tr>
30      <tr>
31        <th>Error Value:</th>
32        <td><pre tal:content="structure error_value" /></td>
33      </tr>
34      <tr>
35        <th>Traceback:</th>
36        <td><pre tal:content="structure error_traceback" /></td>
37      </tr>
38    </table>
39    <hr />
40    <pre tal:content="structure request" />
41    <hr />
42    <a href="" tal:condition="python:error_log_url"
43               tal:attributes="href error_log_url">
44      Show Error Log Entry
45    </a>
46  </tal:debugging>
47</tal:haserror>
48
49<tal:hasnoerror tal:condition="not:error_type">
50Sorry, an error occurred.
51</tal:hasnoerror>
52
53</metal:main>
54</metal:body>
55</metal:html>
Note: See TracBrowser for help on using the repository browser.