summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Vasile <james@jamesvasile.com>2013-02-06 22:54:36 -0500
committerJames Vasile <james@jamesvasile.com>2013-02-06 22:54:36 -0500
commitd5354d6f429eb4b3f56adb4150d0a926eaedbeb3 (patch)
tree6db39fd1f1c9e6ae1316516b2d6d770bcd266a11
parent4371af4c12a86f5884d1a9199f0f99787ac9973a (diff)
tell people to use the issue tracker if they want to complain about a 404
-rwxr-xr-xplinth.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/plinth.py b/plinth.py
index 5e728e8..c112636 100755
--- a/plinth.py
+++ b/plinth.py
@@ -59,9 +59,11 @@ def error_page(status, dynamic_msg, stock_msg):
return page_template(template="err", title=status, main="<p>%s</p>%s" % (dynamic_msg, stock_msg))
def error_page_404(status, message, traceback, version):
- return error_page(status, message, """<p>If you believe this missing page should exist, please file a
- bug with either the Plinth project or the people responsible for
- the module you are trying to access.</p>
+ return error_page(status, message, """<p>If you believe this
+ missing page should exist, please file a bug with either the Plinth
+ project (<a href="https://github.com/jvasile/plinth/issues">it has
+ an issue tracker</a>) or the people responsible for the module you
+ are trying to access.</p>
<p>Sorry for the mistake.</p>
""")