Switch to using variable here

This commit is contained in:
Bradley M. Kuhn 2016-01-18 20:23:48 -08:00
parent c6af56f2a6
commit f1e0fa5258

View file

@ -43,14 +43,14 @@
</div> </div>
<div class="fundraiser-top-text"> <div class="fundraiser-top-text">
{% if sitefundgoal.fundraiser_so_far_amount < 750 %} {% if sitefundgoal.fundraiser_so_far_amount < sitefundgoal.fundraiser_donation_count %}
<em>Conservancy <em>Conservancy
<a href="/supporter/">needs <span id="site-fundraiser-middle-goal">{{ sitefundgoal.fundraiser_donation_count|intcomma }}</span> Supporters</a> to continue its basic community services &amp; <a href="/supporter/">needs <span id="site-fundraiser-middle-goal">{{ sitefundgoal.fundraiser_donation_count|intcomma }}</span> Supporters</a> to continue its basic community services &amp;
<span id="site-fundraiser-final-goal">{{ sitefundgoal.fundraiser_goal_amount|intcomma }}</span> to <span id="site-fundraiser-final-goal">{{ sitefundgoal.fundraiser_goal_amount|intcomma }}</span> to
avoid hibernating its enforcement efforts! avoid hibernating its enforcement efforts!
{% else %} {% else %}
<em>Conservancy will continue our basic community services, thanks to our <em>Conservancy will continue our basic community services, thanks to our
first 750 Supporters! However, we still need a total of first <span id="site-fundraiser-middle-goal">{{ sitefundgoal.fundraiser_donation_count|intcomma }}</span> Supporters! However, we still need a total of
<span id="site-fundraiser-final-goal">{{ sitefundgoal.fundraiser_goal_amount|intcomma }}</span> Supporters to avoid reducing licensing work and hibernating our <span id="site-fundraiser-final-goal">{{ sitefundgoal.fundraiser_goal_amount|intcomma }}</span> Supporters to avoid reducing licensing work and hibernating our
enforcement efforts! enforcement efforts!
{% endif %} {% endif %}