Mercurial > p > roundup > code
view templates/minimal/html/home.html @ 3896:fca0365521fc
ignore client shutdown exceptions when sending responses
patch from Ulrik Miaelsson
If the user clicks the stop button, or click another link before
the previous has finished loading, or something similar an IOError
exception will be raised which results in the admin being sent an
email.
This can understandably be pretty annoying if your users are
doing that on a regular basis. So we'll trap that exception
and ignore it.
| author | Justus Pendleton <jpend@users.sourceforge.net> |
|---|---|
| date | Tue, 11 Sep 2007 21:30:14 +0000 |
| parents | 54a0869b92e4 |
| children |
line wrap: on
line source
<tal:block metal:use-macro="templates/page/macros/icing"> <title metal:fill-slot="head_title" i18n:translate="">Tracker home - <span i18n:name="tracker" tal:replace="config/TRACKER_NAME" /></title> <span metal:fill-slot="body_title" tal:omit-tag="python:1" i18n:translate="">Tracker home</span> <td class="content" metal:fill-slot="content"> <!-- This is the default body that is displayed when people visit the tracker. The tag below lists the currently open issues. You may replace it with a greeting message, or a different list of issues or whatever. It's a good idea to have the issues on the front page though --> <tal:block tal:define="anon python:request.user.username == 'anonymous'"> <p tal:condition="not:anon" class="help" i18n:translate=""> Please select from one of the menu options on the left. </p> <p tal:condition="anon" class="help" i18n:translate=""> Please log in or register. </p> </tal:block> </td> </tal:block>
