root/trac/templates/error.cs

リビジョン 287, 1.1 kB (コミッタ: anonymous, コミット時期: 4 年 前)

Added trac template files.

Line 
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&hellip;</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   &mdash; 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"?>
Note: リポジトリブラウザについてのヘルプは TracBrowser を参照してください。