Mercurial > genshi > mirror
comparison examples/trac/templates/error.cs @ 39:93b4dcbafd7b trunk
Copy Trac to main branch.
author | cmlenz |
---|---|
date | Mon, 03 Jul 2006 18:53:27 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
38:ee669cb9cccc | 39:93b4dcbafd7b |
---|---|
1 <?cs include "header.cs"?> | |
2 | |
3 <div id="ctxtnav" class="nav"></div> | |
4 | |
5 <div id="content" class="error"> | |
6 | |
7 <?cs if error.type == "TracError" ?> | |
8 <h1><?cs var:error.title ?></h1> | |
9 <p class="message"><?cs var:error.message ?></p> | |
10 | |
11 <?cs elif error.type == "internal" ?> | |
12 <h1>Oops…</h1> | |
13 <div class="message"> | |
14 <strong>Trac detected an internal error:</strong> | |
15 <pre><?cs var:error.message ?></pre> | |
16 </div> | |
17 <p>If you think this really should work and you can reproduce it, you should | |
18 consider reporting this problem to the Trac team.</p> | |
19 <p>Go to <a href="<?cs var:trac.href.homepage ?>"><?cs | |
20 var:trac.href.homepage ?></a> and create a new ticket where you describe | |
21 the problem, how to reproduce it. Don't forget to include the Python | |
22 traceback found below.</p> | |
23 | |
24 <?cs /if ?> | |
25 | |
26 <p> | |
27 <a href="<?cs var:trac.href.wiki ?>/TracGuide">TracGuide</a> | |
28 — The Trac User and Administration Guide | |
29 </p> | |
30 <?cs if:error.traceback ?> | |
31 <h4>Python Traceback</h4> | |
32 <pre><?cs var:error.traceback ?></pre> | |
33 <?cs /if ?> | |
34 | |
35 </div> | |
36 <?cs include "footer.cs"?> |