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 %} | ||||
| 
 | ||||
| {% 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"> | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Brett Smith
						Brett Smith