[tor-commits] [donate-static/master] Allow add tag line and link in header in donate-form

hiro at torproject.org hiro at torproject.org
Wed Nov 18 13:05:07 UTC 2020


commit dac952e9e0b8f11db36d200736259fccdd0b16b3
Author: hiro <hiro at torproject.org>
Date:   Wed Nov 18 14:05:04 2020 +0100

    Allow add tag line and link in header in donate-form
---
 content/contents.lr    | 4 ++++
 models/donate-form.ini | 8 ++++++++
 2 files changed, 12 insertions(+)

diff --git a/content/contents.lr b/content/contents.lr
index 43098407..46259ab7 100644
--- a/content/contents.lr
+++ b/content/contents.lr
@@ -88,6 +88,10 @@ tshirt_perk_monthly_label: T-Shirt
 ---
 tshirt_perk_monthly_image: /static/images/donate/t-shirt-use-tor.png
 ---
+header_tag_line: Your donation will be matched by Friends of Tor, up to $100,000.  
+---
+header_tag_link:https://blog.torproject.org/friends-of-tor-match-2020
+---
 header_image: /static/css/images/donate-banner.png
 ---
 header_color: black
diff --git a/models/donate-form.ini b/models/donate-form.ini
index 8455ebb6..6666207c 100644
--- a/models/donate-form.ini
+++ b/models/donate-form.ini
@@ -44,6 +44,14 @@ type = string
 label = Header Color
 type = string
 
+[fields.header_tag_line]
+label = Header Tag Line
+type = string
+
+[fields.header_tag_link]
+label = Header Tag Link
+type = url
+
 [fields.success_redirect_url]
 label = URL to redirect to after donation completed successfully
 type = url



More information about the tor-commits mailing list