Skip to content

Commit

Permalink
T1786 Add route for sponsorship confirmation
Browse files Browse the repository at this point in the history
- In some cases it seems the redirect after doing a sponsorship is missing the /sponsor part in the URL. Include this as a valid URL to correctly display the page.
  • Loading branch information
ecino committed Sep 3, 2024
1 parent 3c8c997 commit 6060d01
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 3 additions & 4 deletions website_event_compassion/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,10 @@

/*
:Author: David Goodger ([email protected])
:Id: $Id: html4css1.css 9511 2024-01-13 09:50:07Z milde $
:Id: $Id: html4css1.css 8954 2022-01-20 10:10:25Z milde $
:Copyright: This stylesheet has been placed in the public domain.

Default cascading style sheet for the HTML output of Docutils.
Despite the name, some widely supported CSS2 features are used.

See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to
customize this style sheet.
Expand Down Expand Up @@ -275,7 +274,7 @@
margin-left: 2em ;
margin-right: 2em }

pre.code .ln { color: gray; } /* line numbers */
pre.code .ln { color: grey; } /* line numbers */
pre.code, code { background-color: #eeeeee }
pre.code .comment, code .comment { color: #5C6576 }
pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold }
Expand All @@ -301,7 +300,7 @@
span.pre {
white-space: pre }

span.problematic, pre.problematic {
span.problematic {
color: red }

span.section-subtitle {
Expand Down
2 changes: 2 additions & 0 deletions website_sponsorship/controllers/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,8 @@ def child_sponsor_form(self, child, **kwargs):
"/child/<string(length=11):child_ref>-<int:child_id>/"
"sponsor/confirmation",
"/child/<int:child_id>/sponsor/confirmation",
"/child/<string(length=11):child_ref>-<int:child_id>/confirmation",
"/child/<int:child_id>/confirmation",
],
type="http",
auth="public",
Expand Down

0 comments on commit 6060d01

Please sign in to comment.