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. ;)
This commit is contained in:
parent
905cb49809
commit
bf669f5632
1 changed files with 2 additions and 0 deletions
|
@ -62,6 +62,7 @@ this_match_remaining: this_match_goal - this_match_so_far
|
||||||
|
|
||||||
{% endcomment %}
|
{% 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_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 %}
|
{% with this_match_remaining=this_match_goal|subtract:this_match_so_far %}
|
||||||
<div class="fundraiser-top-text">
|
<div class="fundraiser-top-text">
|
||||||
|
@ -89,6 +90,7 @@ this_match_remaining: this_match_goal - this_match_so_far
|
||||||
</div>
|
</div>
|
||||||
{% endwith %}
|
{% endwith %}
|
||||||
{% endwith %}
|
{% endwith %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{% block outercontent %}<div id="mainContent"> {% block content %}{% endblock %}</div>{% endblock %}
|
{% block outercontent %}<div id="mainContent"> {% block content %}{% endblock %}</div>{% endblock %}
|
||||||
<div id="conservancyfooter">
|
<div id="conservancyfooter">
|
||||||
|
|
Loading…
Reference in a new issue