Remove unused old campaign page code
This commit is contained in:
		
							parent
							
								
									3d704cd876
								
							
						
					
					
						commit
						96268c17fc
					
				
					 3 changed files with 0 additions and 49 deletions
				
			
		|  | @ -1,7 +0,0 @@ | |||
| <%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%> | ||||
| <% selector ||= nil %> | ||||
| 
 | ||||
| <div class='progressBar--medium-fill' if-branded='background-color, light'> | ||||
|   <!--= style 'width' (cat metrics.percentage_funded '%') --> | ||||
| </div> | ||||
| 
 | ||||
|  | @ -1,39 +0,0 @@ | |||
| <%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%> | ||||
| <!-- partial start: campaigns/fixed_top_actions --> | ||||
| <div class='fixedTopAction fixedTopAction--campaign' <%= current_campaign_editor? ? "style='padding-left: 60px'".html_safe : "" %>> | ||||
| 	<div class='container'> | ||||
| 		<table class='fixedTopAction-table'> | ||||
| 			<tr> | ||||
| 				<td class='fixedTopAction-left'> | ||||
| 					<h1 class='fixedTopAction-title'><%= @campaign.name %></h1><br> | ||||
| 					<span class='fixedTopAction-metrics'> | ||||
| 						<a if-branded='color, darker' href='<%= @nonprofit.url %>'> <%= @nonprofit.name %></a> | ||||
| 						<span class='u-capitalize'><%= Format::Address.city_and_state(@nonprofit.city, @nonprofit.state_code) %></span> | ||||
| 
 | ||||
| 						<span> | ||||
| 							<!--= show_if campaign_time_remaining  --> | ||||
| 							<!--= put campaign_time_remaining --> left | ||||
| 						</span> | ||||
| 
 | ||||
| 					</span> | ||||
| 				</td> | ||||
| 
 | ||||
| 				<td class='fixedTopAction-right'> | ||||
| 					<% if !@campaign.hide_thermometer %> | ||||
| 						<div class='fixedTopAction-hideWhenMobile progressBar--medium'> | ||||
|               <%= render 'campaign_progress_bar_inner', selector: 'u-width--full' %> | ||||
| 						</div> | ||||
| 					<% end %> | ||||
| 
 | ||||
| 					<a class='u-marginRight--10 fixedTopAction-promote' title='Promote' if-branded='color, darker'> | ||||
| 						<!--= on 'click' (open_modal 'shareModal') --> | ||||
| 						Promote</a> | ||||
| 					<button class='button' id='js-contribute' title='Contribute' if-branded='background, dark'> | ||||
| 						Contribute | ||||
| 					</button> | ||||
| 				</td> | ||||
| 			</tr> | ||||
| 		</table> | ||||
| 	</div> | ||||
| </div> | ||||
| <!-- partial end: campaigns/fixed_top_actions --> | ||||
|  | @ -167,6 +167,3 @@ const patch = snabbdom.init([ | |||
| 
 | ||||
| render({state: init(), view, patch, container: document.querySelector('.ff-sidebar')}) | ||||
| 
 | ||||
| // Init the metrics
 | ||||
| appl.def('metrics.path_prefix', '/nonprofits/' + app.nonprofit_id + '/campaigns/' + app.campaign_id + '/') | ||||
| appl.ajax_metrics.index() | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Eric Schultz
						Eric Schultz