Quoting howa <[EMAIL PROTECTED]>:
> My question is: Is it possible to tune this error page? I want to
> provide a better design
> in case user havn't login.
Copy the error.html template into the templates directory and
edit, as you like. E.g.:
<div id="content" class="error">
<py:choose test="type">
<py:when test="'TracError'">
<py:choose>
<py:when test="'WIKI_VIEW' not in perm">
<p>Please <a href="${href.login()}">log in</a> first or call the admin.</p>
</py:when>
<py:otherwise>
<h1>$title</h1>
<py:choose test="">
<p py:when="istext(message)" class="message">$message</p>
<py:otherwise>$message</py:otherwise>
</py:choose>
</py:otherwise>
</py:choose>
Works for me.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---