trac-ticketlinks / templates / error.cs

<?cs include "header.cs"?>

<div id="ctxtnav" class="nav"></div>

<div id="content" class="error">

 <?cs if error.type == "TracError" ?>
  <h3><?cs var:error.title ?></h3>
  <p class="message">
  <?cs var:error.message ?>

 <?cs elif error.type == "internal" ?>
  <div class="message">
   <strong>Trac detected an internal error:</strong>
   <pre><?cs var:error.message ?></pre>
   If you think this really should work and you can reproduce it. Then you 
   should consider to report this problem to the Trac team.
   Go to <a href="<?cs var:trac.href.homepage ?>"><?cs
     var:trac.href.homepage ?></a>  and create a new ticket where you describe
   the problem, how to reproduce it. Don't forget to include the python
   traceback found below.

 <?cs elif error.type == "permission" ?>
  <h3>Permission Denied</h3>
  <p class="message">
  This action requires <tt><?cs var:error.action ?></tt> permission.
  <div id="help">
   <strong>Note</strong>: See
   <a href="<?cs ?>/TracPermissions">TracPermissions</a> for
   help on managing Trac permissions.

 <?cs /if ?>

  <a href="<?cs ?>/TracGuide">TracGuide</a>
  &mdash; The Trac User and Administration Guide

 <?cs if $error.traceback ?>
  <h4>Python traceback</h4>
  <pre><?cs var:error.traceback ?></pre>
 <?cs /if ?>

<?cs include "footer.cs"?>
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.