Commit graph

746 commits

Author SHA1 Message Date
Bradley M. Kuhn
f7425dc802 Only display paginator if multiple pages. 2015-03-04 15:28:44 -08:00
Bradley M. Kuhn
cdf9c67b42 Typo fix from last commit:
s/extra_content/extra_context/
2015-03-04 15:25:50 -08:00
Bradley M. Kuhn
1e396f77a3 More extra_context stuff? Put it all in there!
Simply move the blog_entries field into extra_context and pass the whole
darn thing along to the template.
2015-03-04 15:24:53 -08:00
Bradley M. Kuhn
8e6c2e54ac date_list should come from the extra_context too. 2015-03-04 15:18:18 -08:00
Bradley M. Kuhn
103ffefc87 Correct variables for setting. 2015-03-04 15:17:31 -08:00
Bradley M. Kuhn
962c180f12 Or, do I mean text-align? 2015-03-04 15:14:28 -08:00
Bradley M. Kuhn
8258ca83f0 Do I need align center for a p tag? 2015-03-04 15:12:50 -08:00
Bradley M. Kuhn
0b530f1139 Only 4 blog entries per page. 2015-03-04 15:12:02 -08:00
Bradley M. Kuhn
c564bb6ac5 Typo fix.
<tmarble> also blog left nav is borked  [15:11]
2015-03-04 15:11:36 -08:00
Bradley M. Kuhn
8eda325777 Pagination should float to the center, I think 2015-03-04 15:10:01 -08:00
Bradley M. Kuhn
1ed42c6c89 Must extract paginate_by from kwargs to use it. 2015-03-04 15:07:30 -08:00
Bradley M. Kuhn
b7316e0555 Paginator must be imported if one wants to use it. 2015-03-04 15:06:13 -08:00
Bradley M. Kuhn
8f4c8a69d6 Rework blog's custom_index for new pagination.
The pagination support changed, and as was previously done a few commits
ago for news, I'm trying a similar solution for blogs.

In this case, I'm trying to use the existing custom_index() method we
have and adapt it to properly support pagination in the way we want.

I'm not completely sure this will work, but I think it's at least close.
2015-03-04 15:04:13 -08:00
Bradley M. Kuhn
929b381cec Show year only. 2015-03-04 14:46:35 -08:00
Bradley M. Kuhn
e54aff906c This is by year, not by date. 2015-03-04 14:45:56 -08:00
Bradley M. Kuhn
f3eeca0969 reverse date for index of blog posts (HT tony) 2015-03-04 14:43:37 -08:00
Bradley M. Kuhn
c9d97e8f0f Year should be listed, not first day of Jan. 2015-03-04 14:39:35 -08:00
Bradley M. Kuhn
20e258e000 Minor formatting change. 2015-03-04 13:04:44 -08:00
Bradley M. Kuhn
b7e31128a0 Improve pagination links and text in template.
This should correct various issues with pagination in the press
releases.
2015-03-04 12:48:54 -08:00
Bradley M. Kuhn
47b446cd3b Correct template path name. 2015-03-04 12:42:42 -08:00
Bradley M. Kuhn
c478c2165b import render_to_response 2015-03-04 12:35:30 -08:00
Bradley M. Kuhn
87c68de62a news_queryset is what we wanted here, not news. 2015-03-04 12:33:12 -08:00
Bradley M. Kuhn
076345298e Allow additional arguments to listing() call.
The urls setup of old gave us various arguments at call time for
custom_index(), and some where useful.  Hopefully, listing() can support
the same type of system, over time, once adapted.  Here's an attempt to
get it started, first by supporting paginate_by.
2015-03-04 12:30:54 -08:00
Bradley M. Kuhn
317dd24206 Remove custom_index() method from news view.
I don't believe custom_index() should be used anymore given that we have
this new listing setup.  At least, that's what I surmise based on
current error messages.  I may bring this back if removing it breaks
something else.
2015-03-04 12:28:03 -08:00
Bradley M. Kuhn
888d6c3589 Don't just call this "object", say what it is. 2015-03-04 12:23:22 -08:00
Bradley M. Kuhn
00995bff4d Fix cut and paste error from documentation
This is trying to build a pagination of a news queryset.

HT tmarble for pointing this out.
2015-03-04 12:22:33 -08:00
Bradley M. Kuhn
5c7710954b Attempt to use Django 1.7 Paginator object.
Upon reading
  https://docs.djangoproject.com/en/1.7/topics/pagination/#using-paginator-in-a-view

I wonder if we should simply follow this model for pagination of news
items.  I've attempted to adapt that herein.  This is a first attempt
and likely will have issues.
2015-03-04 12:08:39 -08:00
Tom Marble
f742f86f4b fixed /admin 2015-03-04 19:30:51 +00:00
Tom Marble
86e1646f8f Fixed "(page of)" thing at the top of news 2015-03-03 19:23:57 +00:00
Tom Marble
2bf594b86c First pass at migration to Django 1.7 2015-03-03 18:40:18 +00:00
Bradley M. Kuhn
029ca68386 FOSDEM event is over. 2015-02-13 13:12:48 -05:00
Bradley M. Kuhn
4595ec20e8 1201 Long Form Comment as filed. 2015-02-09 11:08:59 -05:00
Bradley M. Kuhn
eda33642c1 Paragraph about Outreachy in member project list.
This is as was provided from press release.
2015-02-04 17:14:44 -05:00
Bradley M. Kuhn
ed270e40c1 Correct bad div in events page: sidebar gone. 2015-01-30 17:07:29 +01:00
Bradley M. Kuhn
1f7772d09a Revert last change: wrong file! 2015-01-30 17:07:21 +01:00
Bradley M. Kuhn
a4a3dfd432 Fix event page formatting from bad div. 2015-01-30 17:04:30 +01:00
Bradley M. Kuhn
983c119c0e Remove side box as well. 2015-01-30 14:34:17 +01:00
Bradley M. Kuhn
9591c15928 No longer allow signup for the dinner tonight. 2015-01-30 14:26:51 +01:00
Bradley M. Kuhn
e3a93bb75d Make it abundantly clear everyone can come.
Karen got feedback that some people were confused about who can attend.
This change makes it more abundantly clear everyone can attend.
2015-01-23 17:00:29 -05:00
Bradley M. Kuhn
8ec4e600c5 This should link to the #annual portion. 2015-01-21 15:13:28 -05:00
Bradley M. Kuhn
17a35a345e This is my last attempt to get vertically aligned. 2015-01-20 20:16:55 -05:00
Bradley M. Kuhn
2b352ef63f Fix tag. 2015-01-20 20:14:15 -05:00
Bradley M. Kuhn
eb4fe73074 Seems in the p is better? 2015-01-20 20:13:37 -05:00
Bradley M. Kuhn
c77ee15682 YA attempt to center vertically. 2015-01-20 20:12:21 -05:00
Bradley M. Kuhn
f78374e382 One more attempt to make this look better. 2015-01-20 20:10:42 -05:00
Bradley M. Kuhn
b1906dde34 More hacking to center. 2015-01-20 20:10:01 -05:00
Bradley M. Kuhn
ca597149b6 Quick hack to hopefully center align. 2015-01-20 20:09:00 -05:00
Bradley M. Kuhn
808513a9f1 use div's for sponsor stuff. 2015-01-20 20:06:41 -05:00
Bradley M. Kuhn
cd5e4a9c74 Make this an hr 2015-01-20 20:04:49 -05:00
Bradley M. Kuhn
8905d96f8f This looks better. 2015-01-20 20:04:11 -05:00
Bradley M. Kuhn
f7fef3309c Pull it down a bit on the page. 2015-01-20 20:03:34 -05:00
Bradley M. Kuhn
7b9110ea22 Add Google sponsor at end. 2015-01-20 20:02:47 -05:00
Bradley M. Kuhn
03e82f30c5 Link to annual supporter here. 2015-01-20 18:34:27 -05:00
Bradley M. Kuhn
51d08296f0 Fix quote. 2015-01-20 18:23:36 -05:00
Bradley M. Kuhn
39fad54ede Remove errant email address paste. 2015-01-20 18:22:33 -05:00
Bradley M. Kuhn
5771d6e0a7 Fix accent mark. 2015-01-20 18:21:11 -05:00
Bradley M. Kuhn
c246843ee9 Clarify what existing supporters should do. 2015-01-20 18:20:24 -05:00
Bradley M. Kuhn
57124b5f2f Label as amount per ticket. 2015-01-20 18:10:08 -05:00
Bradley M. Kuhn
f6cb68f50a Change size to make this shorter. 2015-01-20 18:03:28 -05:00
Bradley M. Kuhn
577a4b01f5 br formatting. 2015-01-20 18:02:52 -05:00
Bradley M. Kuhn
5fd4ca8627 Correct title. 2015-01-20 18:02:46 -05:00
Bradley M. Kuhn
a1f9be5e31 Attempt to add quantity. 2015-01-20 17:58:56 -05:00
Bradley M. Kuhn
cb60dd3cd0 Rework RSVP text; increase on-site cost. 2015-01-20 17:00:36 -05:00
Bradley M. Kuhn
f1dae492ba Switch to os2/on2 -- which wasn't used. 2015-01-20 16:52:24 -05:00
Bradley M. Kuhn
88d9072101 Don't list full menu on signup page.
After much discussion with Tony and tmarble, we've concluded not to put
the menu on the initial page, and instead place it on the thank-you
page, to which PayPal payers are redirected.
2015-01-20 16:39:48 -05:00
Bradley M. Kuhn
03429d9962 Decrease button size by 25%, per tony. 2015-01-20 16:25:31 -05:00
Bradley M. Kuhn
90d5e5de86 Close paren (HT tmarble)
<tmarble> (likely vegetarian needs closing paren  [16:17]
2015-01-20 16:17:37 -05:00
Bradley M. Kuhn
320205b503 Remove additional <br/>'s 2015-01-20 16:17:17 -05:00
Bradley M. Kuhn
b7186cf2e7 Remove (aka Bruxelles) (per tmarble)
<tmarble>  (aka Bruxelles) is not required  [16:16]
<bkuhn> tmarble: removed
<bkuhn> I put it in only because people might not know.
<bkuhn> (I didn't the first year I attended)
2015-01-20 16:17:04 -05:00
Bradley M. Kuhn
20d9f1b23e Remove :; CSS is adding it! 2015-01-20 16:16:36 -05:00
Bradley M. Kuhn
656d2ae05b Add supporter night button.
Thanks to Tony for making it.
2015-01-20 16:13:26 -05:00
Bradley M. Kuhn
3880c231e4 Minimal dl CSS. 2015-01-20 16:12:04 -05:00
Bradley M. Kuhn
998f5f8dc0 No options here, just amount. 2015-01-20 16:11:58 -05:00
Bradley M. Kuhn
6850a655dc No banner done for this one:
<bkuhn> tony: also, do you want a banner, ala
        http://sfconservancy.org/img/conservancy-supporter-header.png ?
                                                                        [16:09]
<tony> nah, this is such a short term thing. I don't think it's necessary
2015-01-20 16:11:49 -05:00
Bradley M. Kuhn
86e780340a First pass at Supporter Night form.
This is my first pass of the supporter night form with necessary
Javascript and CSS.
2015-01-20 16:07:19 -05:00
Bradley M. Kuhn
187d3b7183 Annual Supporter RSVP for FOSDEM 2015 event.
Annual supporters can RSVP for the FOSDEM 2015 event.
2015-01-20 14:43:05 -05:00
Bradley M. Kuhn
2e3dfdfb92 Fix missing HTML5 proper tag. 2015-01-20 14:42:13 -05:00
Bradley M. Kuhn
21beca5086 FY 2013 Form 990, CHAR 500, and Auditor's report.
These filings were taken care of by the 2015-01-15 deadline and are
herein presented publicly.
2015-01-16 20:53:51 -08:00
Bradley M. Kuhn
2bcb073151 Note lexicographical, not alphabetical 2015-01-04 12:34:28 -05:00
Bradley M. Kuhn
dbeada5b0b Ordering likely screwed up when I muck with query.
Force order_by at the end of my mucking.
2015-01-04 12:26:25 -05:00
Bradley M. Kuhn
5688ffcd48 Change sort of supporters to be lexicographical. 2015-01-04 12:10:09 -05:00
Bradley M. Kuhn
9a4c92352d Use only on0/os0/on1/os1 options with PayPal.
According to these URLs:
   https://www.paypal.com/cgi-bin/webscr?cmd=p/xcl/rec/options-help-outside
   https://developer.paypal.com/webapps/developer/docs/classic/paypal-payments-standard/integration-guide/Appx_websitestandard_htmlvariables/

only two Options are supported via PayPal.  I was fooled initially
because other fields *did* come through and *did* show up on the web
interface, but they are *not* accessible via the SOAP interface.

Therefore, I've switched to using the hack described here:
   https://ppmts.custhelp.com/app/answers/detail/a_id/298/kw/soap%20gettransactiondetails%20option

to get 4 fields of data for Supporter transactions.
2015-01-03 13:14:17 -05:00
Bradley M. Kuhn
71de8fa842 Wording changes and typo fixes for Supporters.
Update information about who can become a Supporter (small companies
can, too), and make sure they're called "Conservancy Supporters"
throughout.
2015-01-03 10:03:47 -05:00
Bradley M. Kuhn
e45322d3c9 Place Supporters counter on front & sponsors pages
The number of current supporters now appears on the frontpage and the
sponsors page.
2015-01-03 10:02:02 -05:00
Bradley M. Kuhn
f723a74f51 Support anonymous supporter listings by count.
Remove anonymous listing from the alphabetical supporters list and
instead list them by count found.
2015-01-03 09:53:44 -05:00
Bradley M. Kuhn
462cbc3963 Supporters list built dynamically.
Hitherto the supporters list has been committed directly to the static
sponsors/index.html file.  This was never ideal and a quick hack to
build Conservancy's supporters list at the beginning of the supporters
program.

With this change, a Django app now exists that dynamically generates the
supporters list.

The database rows must be built from Conservancy's internal Ledger file,
which will be done in a separate script.
2015-01-03 09:53:12 -05:00
Bradley M. Kuhn
8e43cfd128 Rename file to template.
Since we'll produce dynamic content onto this page going forward, this
apparently needs to be in the templates directory now.
2015-01-03 09:03:20 -05:00
Bradley M. Kuhn
79e238cec0 Add my grandmother, who sent a check. 2014-12-23 16:19:42 -05:00
Bradley M. Kuhn
13bcc6986f Update public ack for last week and a half.
There needs be to an automated process for this, but there's none yet.
2014-12-23 12:24:03 -05:00
Bradley M. Kuhn
2a3e2f4d52 List Private Internet Access on the sponsors page. 2014-12-19 19:14:32 -05:00
Karen Sandler
1f1c53a417 PIA logo for sponsors page 2014-12-19 04:12:50 -05:00
Bradley M. Kuhn
fd407312e6 Correct text from previous commit. 2014-12-16 10:56:42 -05:00
Bradley M. Kuhn
1c5ceb4812 Changes as specified by Karen. 2014-12-16 10:28:53 -05:00
Bradley M. Kuhn
8634697621 Fix typo. 2014-12-14 16:19:26 -05:00
Bradley M. Kuhn
98b9e2aa53 We met the match goal. 2014-12-14 16:18:43 -05:00
Bradley M. Kuhn
68d51e036c Correct amount properly not correct in last commit. 2014-12-12 13:50:48 -05:00
Bradley M. Kuhn
d11e722399 Additional supporter. 2014-12-12 13:50:02 -05:00
Bradley M. Kuhn
aaa83650a8 Spelling fix at request of donor. 2014-12-12 13:49:52 -05:00
Bradley M. Kuhn
91cb92cd25 Additional supporters & updates to matching totals. 2014-12-12 11:22:23 -05:00
Bradley M. Kuhn
2657dbf4be Another donor! 2014-12-11 13:40:43 -05:00