Made the 404 error page slightly more useful.
This commit is contained in:
parent
94f4e470fd
commit
f5b7cb35a7
|
@ -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 ),
|
||||
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." ),
|
||||
),
|
||||
P(
|
||||
u"Thanks!",
|
||||
),
|
||||
class_ = u"error_box",
|
||||
),
|
||||
|
|
Reference in New Issue