diff --git a/www/conservancy/static/css/forms.css b/www/conservancy/static/css/forms.css index 1a710af75375c2fb2f414437e2a2261337370a1d..2e68c59ec2296b8657f7d91915101be40c3b0ddc 100644 --- a/www/conservancy/static/css/forms.css +++ b/www/conservancy/static/css/forms.css @@ -1,7 +1,12 @@ +.supporter-type-selection .prolog > span:first-child { + font-weight: bold; +} + .supporter-form label { display: inline-block; width: 200px; text-align: right; + font-weight: bold; } .dinner-form label { display: inline-block; @@ -17,7 +22,7 @@ .supporter-form-submit { padding-left: 20em; padding-top: 40px; - float: center; + font-size: small; } .dinner-form-submit { padding-left: 20em; @@ -25,10 +30,6 @@ float: center; } -.supporter-form div { - margin-top: 1em; -} - .dinner-form div { margin-top: 1em; } diff --git a/www/conservancy/static/js/conservancy.js b/www/conservancy/static/js/conservancy.js index bd9494702f4c88952e88351b0fe8c703716938f7..f2af67ef54d12c320fd7ac708aa4122e374ba95f 100644 --- a/www/conservancy/static/js/conservancy.js +++ b/www/conservancy/static/js/conservancy.js @@ -88,16 +88,16 @@ $(document).ready(function() { }); $(".t-shirt-size-selector").hide(); $('input[name=on0]:radio').change(function() { - var input=$(this); - var tShirtSelector = input.parent().children('.t-shirt-size-selector') - var noShippingSelector = input.parent().children('input[name=no_shipping]'); - var value = input.val(); - if (value == "wantGiftYes") { - tShirtSelector.show(); - noShippingSelector.val("2"); + var $input = $(this); + var $form = $input.parents('form').last(); + var $tShirtSelector = $('.t-shirt-size-selector', $form); + var $noShippingSelector = $('input[name=no_shipping]', $form); + if ($input.val() == "wantGiftYes") { + $tShirtSelector.show(); + $noShippingSelector.val("2"); } else { - tShirtSelector.hide(); - noShippingSelector.val("0"); + $tShirtSelector.hide(); + $noShippingSelector.val("0"); } }); }); diff --git a/www/conservancy/templates/supporter/form_partial.html b/www/conservancy/templates/supporter/form_partial.html index f4e0a11f67a1b19e51de09ea0870b100dbb6602a..7bb9e2eafb808a6b666bd37da80893cd851b6f2d 100644 --- a/www/conservancy/templates/supporter/form_partial.html +++ b/www/conservancy/templates/supporter/form_partial.html @@ -30,25 +30,27 @@ This partial accepts these optional parameters:

{{ verb|capfirst }} as {{ article }} {{ supptype|capfirst }} Supporter

- {% if form_id == "annual" %} -

Note: annual supporter is not an automatic renewal +

Note: + {% if form_id == "annual" %} + annual supporter is not an automatic renewal relationship. If you join today, you'll receive an email in about one - year to remind you to optionally renew.

- {% elif form_id == "monthly" %} -

Monthly renewal is automatic. Also, monthly supporters might not + year to remind you to optionally renew. + {% elif form_id == "monthly" %} + Monthly renewal is automatic. Also, monthly supporters might not receive tangible Supporter benefits (such as the t-shirt) until they've reached at least {# Six months of payments #} ${{ min_amt|add:min_amt|add:min_amt|add:min_amt|add:min_amt|add:min_amt }} in monthly supporter donations. However, they will be included immediately in - the Supporters' list.

- {% elif form_id == "renewal" %} -

Note: This option is for existing annual supporters + the Supporters' list. + {% elif form_id == "renewal" %} + This option is for existing annual supporters who seek to renew for another year. The annual renewal is not automatic; annual supporters are emailed each year to invite them to - optionally renew.

- {% endif %} + optionally renew. + {% endif %} +

- {% if form_id == "monthly" %} - - - - - - - - - - {% else %} - - - - {% endif %} - ${{ min_amt|add:partial_amt }} is a minimum for - Conservancy Supporters. - Donate smaller amounts here.
-
+ +
-

Button above redirects to PayPal's site for credit +

Button above redirects to PayPal's site for credit card, bank account or PayPal balance payment methods. Select - options first. + options first.