From f5b7cb35a7a9ecdfb3f7c03d4bc05237ccc59a60 Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Mon, 20 Oct 2008 15:53:12 -0700 Subject: [PATCH] Made the 404 error page slightly more useful. --- view/Not_found_page.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/view/Not_found_page.py b/view/Not_found_page.py index c303a25..d9bdb29 100644 --- a/view/Not_found_page.py +++ b/view/Not_found_page.py @@ -1,5 +1,5 @@ from Page import Page -from Tags import Div, H2, P, A, Img +from Tags import Div, H2, P, A, Img, Ul, Li class Not_found_page( Page ): @@ -17,11 +17,11 @@ class Not_found_page( Page ): Div( H2( title ), P( - u"This is not the page you're looking for. If you care, please", - A( "let me know about it.", href = "mailto:%s" % support_email ), - ), - P( - u"Thanks!", + u"Sorry, the page you are looking for couldn't be found. But not to worry. You've got a few options.", + Ul( + Li( u"Return to the", A( u"Luminotes personal wiki notebook", href = u"/" ), u"home page." ), + Li( A( u"Contact support", href = u"mailto:%s" % support_email ), u"and report that the page that you expected to find here is missing." ), + ), ), class_ = u"error_box", ),