Commit graph

354 commits

Author SHA1 Message Date
Brett Smith
40133bb73b supporter: Remove bogus value for PayPal srt variable.
srt is meant to be used for time-limited subscriptions.  0 is not a valid
value.  See
<https://developer.paypal.com/docs/classic/paypal-payments-standard/integration-guide/Appx_websitestandard_htmlvariables/#recurring-payment-variables>.
It's optional, and leaving it unset gives us the behavior we want, so do
that instead.
2017-02-03 10:34:14 -05:00
Brett Smith
36adfb406d supporter: Set LC for all PayPal forms.
This setting is not subscription-specific, so if we ever do it it seems like
we should always do it.
2017-02-03 10:32:45 -05:00
Brett Smith
bb888146ff base: Remove match progressbar. 2017-01-23 20:59:16 -05:00
Bradley M. Kuhn
d282115127 Add link to signup. 2017-01-22 23:21:41 -08:00
Bradley M. Kuhn
cab182b862 More changes that Karen told me to make. 2017-01-22 23:21:02 -08:00
Bradley M. Kuhn
57597f3a5c Move let's sentence per Karen's instructions. 2017-01-22 23:17:48 -08:00
Bradley M. Kuhn
7815c083dc Fix where PIA is mentioned in both versions. 2017-01-22 23:13:12 -08:00
Bradley M. Kuhn
cec947d2c3 Change based on karen's text. 2017-01-22 23:12:24 -08:00
Bradley M. Kuhn
1fd5e015b5 Note this goes AoE time. 2017-01-22 17:15:22 -08:00
Brett Smith
6a73864765 base_conservancy: PIA match is extended one week. 2017-01-16 17:03:42 -05:00
Brett Smith
7202787092 supporter: Reorganize form post-input notes.
This makes it easier to keep baseline alignment between labels and their
respective inputs.  Declaring `margin-left: 51%;` for the post-input notes
is not exactly what we want, but it's much closer and less troublesome than
dealing with the vertical alignment of labels otherwise.
2017-01-09 16:56:42 -05:00
Brett Smith
5f9a4395f3 supporter: Add size information chart. 2017-01-05 13:46:46 -05:00
Brett Smith
27b469c2dc sponsors: Unlist too-old sponsors.
These companies have not given in the past year.
2017-01-04 12:03:28 -05:00
Brett Smith
c07b274681 supporter: Set target="_blank" on informational links in the forms. 2017-01-02 11:43:22 -05:00
Brett Smith
0de3594e74 supporter: Group shirts by type. 2017-01-02 11:24:14 -05:00
Brett Smith
f32d04e725 supporter: Women's shirts, not ladies' shirts.
Signed off by Karen.
2017-01-02 11:20:13 -05:00
Brett Smith
b3a2f1dc96 supporter: Wordsmith the forms. 2017-01-01 16:38:12 -05:00
Brett Smith
2993a2c3ad supporter: Fix detached labels in forms. 2017-01-01 16:31:01 -05:00
Brett Smith
fce05b6f99 supporter: Add tabindex to supporter sign-up form. 2017-01-01 16:10:21 -05:00
Brett Smith
b93cc61e8b supporter: New form styling.
This makes better use of bigger screens, and degrades better to smaller
ones.
2017-01-01 15:10:20 -05:00
Brett Smith
8605b65783 supporter: Move more presentation rules to CSS.
This commit keeps the presentation basically the same, it just moves
presentation rules out of HTML and into CSS.  It's not pixel-perfect but
pretty close.
2017-01-01 13:53:41 -05:00
Brett Smith
19e744788b supporter: Only render the Annual form for upgraders.
This lets us do more with HTML and less with JavaScript, which is always
nice.
2017-01-01 10:53:58 -05:00
Brett Smith
b4883ca6bd supporter: Make a partial for the supporter form.
This commit shouldn't make any substantial changes to the form or its
presentation.  This is just cleaning things up as a development aid.
2017-01-01 10:39:23 -05:00
Brett Smith
78c474caac supporter: Fix redundant annual/monthly/renewal ids. 2017-01-01 10:24:34 -05:00
Brett Smith
dad41f4817 supporter: Fix redundant os0 ids, invalid names. 2017-01-01 10:24:34 -05:00
Brett Smith
6392ae3a43 supporter: Fix redundant amount, error ids. 2017-01-01 10:24:34 -05:00
Brett Smith
7842ca6c57 supporter: Fix redundant no_shipping id. 2016-12-31 16:22:52 -05:00
Brett Smith
034a60be9b js: Split whole-site JS from Supporter-specific JS. 2016-12-31 14:46:10 -05:00
Brett Smith
9ef8a62f0b copyleft-compliance: Update old linux-compliance URLs. 2016-12-31 14:31:34 -05:00
Brett Smith
d5f461d879 news: Refactor press release rendering into a partial.
Same rationale as a few commits ago for blog entries.
2016-12-30 23:12:09 -05:00
Brett Smith
7f5f98e5db news: Render HTML entities in press release titles.
Same rationale as for blogs a few commits ago.
2016-12-30 23:12:09 -05:00
Brett Smith
170aa38bb5 blog: Headlines clear floats.
This avoids a situation where multiple summaries have floats that stack on
top of each other vertically, which end up getting far away from the actual
text.

In order to make this work, we had to change the styling of #mainContent on
blog pages (and others with a sidebar).  Otherwise, headlines with
class="clear" would clear the sidebar as well.
2016-12-30 23:12:09 -05:00
Brett Smith
e7c1171b6e blog: Refactor entry rendering into a partial.
This helps ensure that entries are rendered consistently wherever they
appear.
2016-12-30 23:12:09 -05:00
Brett Smith
9fbc652c7c blog: Mark entry headline safe in title.
We already strip tags, but this lets HTML entities render correctly.
2016-12-30 23:12:09 -05:00
Brett Smith
a3737e9955 supporter: Add id="renew" to the renewal form.
This provides better behavior for non-JavaScript visitors who use a #renew
link (see last commit).
2016-12-29 11:00:08 -05:00
Brett Smith
a95baef377 sponsors: Add Savoir-faire Linux. 2016-12-17 13:57:56 -05:00
Brett Smith
ebf5d317cc sponsors: Add Linux Australia. 2016-12-17 13:52:32 -05:00
Bradley M. Kuhn
db4b90714b Add comment about logo sizes. 2016-12-09 13:17:57 -08:00
Brett Smith
6fe13959a3 supporter: Support donors upgrading to supporters.
With a valid URL, a past donor can upgrade to a supporter by donating
the rest of the amount.  Django validates the data and, if it passes,
puts it in the form.  The JavaScript does most of the work from there.
2016-12-02 12:50:21 -05:00
Brett Smith
6908c135f2 appeal: Progress bar emphasizes current match program. 2016-12-02 10:09:12 -05:00
Brett Smith
4cbf566e31 contractpatch: Page layout adjustments.
Try to make sections clearer and avoid the "big monolith of text"
feeling.
2016-11-30 16:24:28 -05:00
Brett Smith
a1ec899670 css: Start a separate stylesheet for "big screen" styles.
I'm about to add more and I *suspect* this will be easier to maintain
in the long term, rather than duplicating the conditional many times.
2016-11-30 16:18:06 -05:00
Brett Smith
d0e3ad782e contractpatch: Mark up page sections.
I'm going to do some styling on these but I'm not sure what yet.
2016-11-30 15:14:13 -05:00
Brett Smith
d663bcabdc appeal: Another syntax fix. 2016-11-29 13:23:31 -05:00
Brett Smith
400ddf3969 appeal: Again. 2016-11-29 13:19:07 -05:00
Brett Smith
2a618a8830 appeal: Fix template syntax. 2016-11-29 13:16:13 -05:00
Brett Smith
5bd39ff315 appeal: Enhance progress text. 2016-11-29 13:14:53 -05:00
Brett Smith
df52029777 contractpatch: Fix syntax for previous silly commit. 2016-11-29 12:23:42 -05:00
Brett Smith
273be60679 contractpatch: Silly commit for testing. 2016-11-29 12:18:21 -05:00
Brett Smith
f0d9b1caec appeal: Fundraising bar notes match. 2016-11-29 10:52:04 -05:00
Brett Smith
8fec6023e9 contractpatch: Add page. 2016-11-28 15:23:58 -05:00
Brett Smith
d0202d6b42 appeal: Restore middle goal to banner. 2016-11-22 08:44:10 -05:00
Brett Smith
01ab5892ba appeal: Update for 2016. 2016-11-22 08:31:27 -05:00
Brett Smith
b331d52331 frontpage: Reorganize.
* Put news and blogs up front.
* Use 30 days as the cutoff for everything, consistently.
* Allow columns to collapse.  Hopefully this is the start of a nicer
  view on mobile.
* Reduce shading.
2016-11-17 10:40:22 -05:00
Brett Smith
88474ec876 blog: Display tags with dateline.
This hopefully makes it a little clearer which entry the tags apply to.
2016-11-17 09:53:50 -05:00
Brett Smith
c7a8375002 blog: Remove redundant datelines. 2016-11-17 09:49:57 -05:00
Brett Smith
6dcb9d35e3 blogs, news: Don't shade entries on listing pages.
This just causes entire pages to be shaded, which is undesirable.
2016-11-17 09:45:03 -05:00
Brett Smith
bb99d71fc1 frontpage: Remove announce subscription widget.
Due to subscription abuse, we had to enable a nonce in the Mailman
subscription form, which is non-trivial to reproduce here.
2016-11-16 17:10:40 -05:00
Brett Smith
0dce877d46 Reorder topnav buttons.
This better matches what I see on other NPO sites.
2016-11-16 16:42:17 -05:00
Brett Smith
5573738012 sponsors: Fix reversed dimensions on Target logo. 2016-11-09 12:38:37 -05:00
Brett Smith
1662bf983e sponsors: Add Target. 2016-11-09 12:34:20 -05:00
Bradley M. Kuhn
99078190bd s/enforcement/compliance/
Karen asked for this change.
2016-11-05 20:53:25 -07:00
Bradley M. Kuhn
811d2b70b4 Rename Members->Projects in menu navigation et al
Due to confusion about "members" and "supporters", we want at least the
menu navigation to not use the phrase "members" since some Supporters
expect that to refer to a type of donor.

While we will not be rebranding "member projects" fully at this time, we
want to favor the term projects.

A few additional changes, in particular moving files from members/ ->
projects/ directory will be needed in next commit.
2016-09-30 13:46:51 -04:00
Bradley M. Kuhn
9682d113c0 Samsung is no longer a sponsor of Conservancy. 2016-08-27 13:16:54 -07:00
Bradley M. Kuhn
9884c81441 Double // broke this URL. 2016-08-09 10:51:11 -07:00
Bradley M. Kuhn
9f4f3ffcc4 Add menu links. 2016-08-09 06:00:19 -07:00
Martin Michlmayr
886e3e7e55 Remove deprecated media type projection 2016-06-08 13:40:43 -07:00
Martin Michlmayr
e60a36fe43 Fix HTML syntax error - close elements in right order
The <a> has to be closed before the <div>.
2016-05-07 20:12:35 -07:00
Martin Michlmayr
379b3aba75 Fix HTML syntax error - closing span
Remove the closing </span> which was never opened.
2016-05-07 20:10:11 -07:00
4cd5f38ffa fixing typo 2016-04-26 14:18:13 -04:00
9dc28858c8 adding timeline for donations to save enforcement 2016-04-26 14:16:33 -04:00
3c8d9abb43 Fix sizing of HPE logo 2016-03-30 22:21:38 -04:00
cafce402ef adding HPE logo to sponsors page 2016-03-30 21:56:01 -04:00
Bradley M. Kuhn
cd8f4d01e6 Remove PIA note now that there's a news item on it 2016-03-02 13:46:12 -08:00
Bradley M. Kuhn
fe5e5ae85d This min should no longer be here. 2016-03-02 13:39:39 -08:00
Bradley M. Kuhn
8fd57c8873 Add link here too. 2016-02-29 21:37:27 -08:00
Bradley M. Kuhn
e1a3628de1 add "to" 2016-02-29 21:32:58 -08:00
Bradley M. Kuhn
bc94606df3 Note PIA match was met. 2016-02-29 21:32:00 -08:00
Bradley M. Kuhn
776bc67fcf This span no longer belongs here. 2016-02-29 21:30:04 -08:00
Bradley M. Kuhn
40221fcc81 Change header to be how many more we need. 2016-02-29 21:27:33 -08:00
Bradley M. Kuhn
05652a27c1 Realize multiple todays. :) 2016-02-29 17:29:44 -08:00
Bradley M. Kuhn
ceda402a3e Change terminology. 2016-02-29 16:09:41 -08:00
Bradley M. Kuhn
eaeaa1d205 Typo fix in tag. 2016-02-29 15:16:47 -08:00
Bradley M. Kuhn
8992fd80cd Match clock is ticking; make it big and bold. 2016-02-29 15:12:52 -08:00
Bradley M. Kuhn
674f515ca1 temp change to use CC's copy of this image. 2016-02-25 12:25:49 -08:00
Bradley M. Kuhn
e99fbad26f Remove LCA match from top of every page. 2016-02-25 07:22:53 -08:00
Martin Michlmayr
47c8623c66 Fix alt tag for Collabora
Thanks to Paul Wise for pointing this out.
2016-02-18 16:36:33 -08:00
Bradley M. Kuhn
3b3a530cfc Fix link to Collabora. 2016-02-10 18:24:47 -08:00
Bradley M. Kuhn
169a27d9db Add Collabora as a sponsor. 2016-02-10 18:23:33 -08:00
Bradley M. Kuhn
9da32e252e Correct to possessive. 2016-02-06 19:05:24 -08:00
Bradley M. Kuhn
c8d44ca4c3 More changes to reference LCA match. 2016-02-05 15:26:19 +11:00
Bradley M. Kuhn
07daa54e8e LCA Match. 2016-02-05 15:18:18 +11:00
Bradley M. Kuhn
8122fc87dd Add URL of news item. 2016-02-01 13:35:21 -08:00
Bradley M. Kuhn
13ad6cfbdc Restore text for new group. 2016-02-01 10:48:20 -08:00
Bradley M. Kuhn
cb45d7e125 Correct typo in number. 2016-02-01 01:53:23 -08:00
Bradley M. Kuhn
725dce3ca8 Temporary message while still tallying. 2016-02-01 01:52:05 -08:00
Bradley M. Kuhn
3fe4a5bcbb Reduce ! in various site-wide fundraising texts.
Surprisingly, given her predilection for exclamation points:

  <karen> yeah... believe it or not, I'd rather not have two exclamation points
          in the 750 achieved!  [20:30]

  <karen> and I would also delete the exclamation point after " enforcement
          efforts!" in the text above it  [20:31]

So this change is made on her behalf.
2016-01-18 20:32:12 -08:00
Bradley M. Kuhn
2f92891db4 Use &amp; instead of and to save space. 2016-01-18 20:26:25 -08:00
Bradley M. Kuhn
f1e0fa5258 Switch to using variable here 2016-01-18 20:23:48 -08:00
Bradley M. Kuhn
fd261def3a And variable needs correction as well. 2016-01-18 20:17:37 -08:00