From 2acf8c60d36998169aba2a0a84bcb75327318460 Mon Sep 17 00:00:00 2001 From: Ben Sturmfels Date: Wed, 23 Oct 2024 09:24:46 +1100 Subject: [PATCH] supporters: Add PayPal template --- .../supporters/sustainers_paypal.html | 37 +++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 conservancy/supporters/templates/supporters/sustainers_paypal.html diff --git a/conservancy/supporters/templates/supporters/sustainers_paypal.html b/conservancy/supporters/templates/supporters/sustainers_paypal.html new file mode 100644 index 00000000..6514f8c7 --- /dev/null +++ b/conservancy/supporters/templates/supporters/sustainers_paypal.html @@ -0,0 +1,37 @@ +{% extends "base_conservancy.html" %} +{% load static %} +{% block subtitle %}Support Conservancy - {% endblock %} +{% block category %}sustainer{% endblock %} + +{% block head %} + + + +{% endblock %} + +{% block content %} +

Become a Sustainer by PayPal

+ +
+ +{% if partial_amount > 0 %} + {% include "supporters/form_partial.html" with form_id="annual" min_amt=minimum_amount partial_amt=partial_amount article="an" only %} +{% else %} + + + {% include "supporters/form_partial.html" with form_id="annual" min_amt=120 default_amt=128 article="an" only %} + + {% include "supporters/form_partial.html" with form_id="monthly" min_amt=10 default_amt=12 only %} + + + {% include "supporters/form_partial.html" with form_id="renewal" min_amt=120 default_amt=128 verb="renew" article="an" supptype="annual" only %} +{% endif %} + +Please ensure all form data above is correct. +{% endblock %}