diff --git a/www/conservancy/static/css/forms.css b/www/conservancy/static/css/forms.css index f4c89bba..6c4837e1 100644 --- a/www/conservancy/static/css/forms.css +++ b/www/conservancy/static/css/forms.css @@ -112,3 +112,8 @@ p.appeal-match-text { border: 1px solid #fff; background: #eee; } +a.expander { + font-size: 75%; + font-style: italic; + text-align: center; +} diff --git a/www/conservancy/static/js/supporter-page.js b/www/conservancy/static/js/supporter-page.js index 2f15550a..543a62f7 100644 --- a/www/conservancy/static/js/supporter-page.js +++ b/www/conservancy/static/js/supporter-page.js @@ -1,5 +1,5 @@ /* Copyright (C) 2012-2013 Denver Gingerich, -** Copyright (C) 2013-2014 Bradley M. Kuhn, +** Copyright (C) 2013-2014, 2020 Bradley M. Kuhn, ** Copyright (C) 2016, 2020 Brett Smith. ** License: GPLv3-or-later ** Find a copy of GPL at https://sfconservancy.org/GPLv3 @@ -128,4 +128,17 @@ $(document).ready(function() { $readmore.hide().replaceWith($linkpara); } }); + $('a[data-expand-link-text]').each(function(index, element) { + var $element = $(element); + $element.append($element.data('expand-link-text')); + $element.removeAttr('data-expand-link-text'); + }); + $('.expandable-section').each(function(index) { + var $expandlink = $(this).children('.expander'); + var $ourexpandablesection = $(this); + $expandlink.addClass('active').trigger('click'); + $expandlink.on('click', function(event) { + $expandlink.fadeOut('slow'); + $ourexpandablesection.find('.read-more').each(function(index) { $(this).click(); }); }); + }); }); diff --git a/www/conservancy/templates/supporter/index.html b/www/conservancy/templates/supporter/index.html index 8e02d823..eb74437e 100644 --- a/www/conservancy/templates/supporter/index.html +++ b/www/conservancy/templates/supporter/index.html @@ -77,6 +77,7 @@ Please ensure all form data above is correct.
+
Tony Sebro speaks on stage in front of a slide comparing 1800’s Eschatology and Golden Era Hip Hop @@ -101,6 +102,8 @@ freedom can be in the service of human freedom.

We’re proud of how much we’ve been able to accomplish in the last year, even in the face of so many obstacles.

+ +

Staying Connected

We helped folks stay connected, even when travel @@ -199,5 +202,5 @@ dollar you give to Conservancy is used to support critical work. While companie you products this end of year season, we offer you a chance to donate to something much bigger. By becoming a Conservancy Supporter, you can put your money to work fighting for the freedom and rights of all software users.

- +
{% endblock %}