 22adb4d5fd
			
		
	
	
		22adb4d5fd
		
	
	
	
	
		
			
			The primary license of the project is changing to: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later with some specific files to be licensed under the one of two licenses: CC0-1.0 LGPL-3.0-or-later This commit is one of the many steps to relicense the entire codebase. Documentation granting permission for this relicensing (from all past contributors who hold copyrights) is on file with Software Freedom Conservancy, Inc.
		
			
				
	
	
		
			25 lines
		
	
	
	
		
			789 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
	
		
			789 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| <%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
 | |
| <% unless @active_campaigns.empty? %>
 | |
|   <section class='pastelBox--grey u-marginBottom--15'>
 | |
|   	<header>
 | |
|   	   Active Campaigns
 | |
|   	</header>
 | |
|     <%= render 'campaigns/campaigns_table', campaigns: @active_campaigns %>
 | |
|   	<% if @any_past_campaigns %>
 | |
|     	<footer>
 | |
|     		<a href='<%= @nonprofit.url + '/campaigns' %>' class='button details'>View Past Campaigns</a>
 | |
|     	</footer>
 | |
|   	<% end %>
 | |
|   </section>
 | |
| <% end %>
 | |
| 
 | |
| <% unless @events.empty? %>
 | |
| 	<section class='pastelBox--grey u-marginBottom--15'>
 | |
|   	<header>
 | |
|       Upcoming Events
 | |
|   	</header>
 | |
|   		<% @events.each do |event| %>
 | |
|   			<%= render :partial => 'events/listing', :locals => {:event => event} %>
 | |
| 			<% end %>
 | |
|   </section>
 | |
| <% end %>
 |