Changeset - bf669f563228
[Not reviewed]
0 1 0
Brett Smith (brett) - 4 years ago 2017-11-28 03:32:05
brett@sfconservancy.org
base_conservancy: Don't show the progressbar until a fundraiser is ready to go.

This lets me push this now without visible effects until the data is ready. ;)
1 file changed with 2 insertions and 0 deletions:
0 comments (0 inline, 0 general)
www/conservancy/templates/base_conservancy.html
Show inline comments
...
 
@@ -62,6 +62,7 @@ this_match_remaining: this_match_goal - this_match_so_far
 

	
 
{% endcomment %}
 

	
 
{% if sitefundgoal and sitefundgoal.fundraiser_so_far_amount %}
 
{% with this_match_goal=sitefundgoal.fundraiser_goal_amount this_match_so_far=sitefundgoal.fundraiser_so_far_amount %}
 
{% with this_match_remaining=this_match_goal|subtract:this_match_so_far %}
 
    <div class="fundraiser-top-text">
...
 
@@ -89,6 +90,7 @@ this_match_remaining: this_match_goal - this_match_so_far
 
</div>
 
{% endwith %}
 
{% endwith %}
 
{% endif %}
 

	
 
      {% block outercontent %}<div id="mainContent"> {% block content %}{% endblock %}</div>{% endblock %}
 
    <div id="conservancyfooter">
0 comments (0 inline, 0 general)