Changeset - 7c7ab8f6910f
[Not reviewed]
Merge
1 4 1
eximious - 5 years ago 2019-01-09 15:52:30
deb@seagl.org
Merge branch 'master' of ssh://k.sfconservancy.org/website
5 files changed with 29 insertions and 5 deletions:
0 comments (0 inline, 0 general)
www/conservancy/local_context_processors.py
Show inline comments
 
from datetime import datetime as DateTime
 
from pytz import utc as UTC
 

	
 
import conservancy.settings
...
 
@@ -3,2 +6,9 @@ from conservancy.apps.fundgoal.models import FundraisingGoal as FundraisingGoal
 

	
 
SITE_FUNDGOAL = 'cy2018-end-year-match'
 
# FIXME: Move this information into the model.
 
FUNDGOAL_ENDTIMES = {
 
    # End of 2019-01-15 AOE is 2019-01-16 noon UTC.
 
    'cy2018-end-year-match': DateTime(2019, 1, 16, 12, tzinfo=UTC),
 
}
 

	
 
def fundgoal_lookup(fundraiser_sought):
...
 
@@ -11,3 +21,6 @@ def fundgoal_lookup(fundraiser_sought):
 
def sitefundraiser(request):
 
    return {'sitefundgoal': fundgoal_lookup('cy2018-end-year-match') }
 
    return {
 
        'sitefundgoal': fundgoal_lookup(SITE_FUNDGOAL),
 
        'sitefundgoal_timeleft': FUNDGOAL_ENDTIMES[SITE_FUNDGOAL] - DateTime.now(UTC),
 
    }
 

	
www/conservancy/static/about/filings/index.html
Show inline comments
...
 
@@ -15,4 +15,7 @@ public inspection, in reverse chronological order:</p>
 
<li>Fiscal Year 2017 (from 2017-03-01 through 2018-02-28)
 
  <p>Our FY 2017 ends on 2017-02-28.  Our annual filings will be due with the
 
  USA Internal Revenue Service (IRS) and New York State <a href="https://www.irs.gov/charities-non-profits/return-due-dates-for-exempt-organizations-annual-return">on 2018-07-16</a>.</p>
 
  <p>Our FY 2017 ended on 2017-02-28.  We were granted (as most organizations
 
  are) the extended deadline.  Our annual filings are due with the USA
 
  Internal Revenue Service (IRS) and New York
 
  State <a href="https://www.irs.gov/charities-non-profits/return-due-dates-for-exempt-organizations-annual-return">on
 
  2019-01-15</a>.  They will be posted here shortly after filing.</p>
 
</li>
www/conservancy/static/img/sponsors/collabora.png
Show inline comments
 
deleted file
 
binary diff not shown
Show images
www/conservancy/templates/base_conservancy.html
Show inline comments
...
 
@@ -73,3 +73,12 @@ this_match_remaining: this_match_goal - this_match_so_far
 
        {% else %}
 
        The next ${{ this_match_remaining|floatformat:0|intcomma }} of support we receive will be matched thanks to Private Internet Access and a group of generous donors, including {{ sitefundgoal.random_providers }}!  <a href="/supporter/">Support Conservancy today!</a>
 
          {% if sitefundgoal_timeleft.total_seconds <= 0 %}
 
            The
 
          {% elif sitefundgoal_timeleft.days == 0 %}
 
            Through today only, the
 
          {% elif sitefundgoal_timeleft.days == 1 %}
 
            Through tomorrow only, the
 
          {% else %}
 
            For only {{ sitefundgoal_timeleft.days }} more days, the
 
          {% endif %}
 
        next ${{ this_match_remaining|floatformat:0|intcomma }} of support we receive will be matched thanks to Private Internet Access and a group of generous donors, including {{ sitefundgoal.random_providers }}!  <a href="/supporter/">Support Conservancy today!</a>
 
        {% endif %}
www/conservancy/templates/sponsors.html
Show inline comments
...
 
@@ -26,3 +26,2 @@ any of its sponsors.</p>
 
<ul id="sponsor">
 
<li><a rel="nofollow" href="https://www.collabora.com/"><img src="/img/sponsors/collabora.png" height="42" width="250" alt="Collabora" /></a></li>
 
<li><a rel="nofollow" href="https://google.com"><img src="/img/sponsors/google.png" height="76" width="238" alt="Google" /></a></li>
0 comments (0 inline, 0 general)