diff --git a/app/views/campaigns/_campaign_progress_bar_inner.html.erb b/app/views/campaigns/_campaign_progress_bar_inner.html.erb deleted file mode 100644 index 63aa6227..00000000 --- a/app/views/campaigns/_campaign_progress_bar_inner.html.erb +++ /dev/null @@ -1,7 +0,0 @@ -<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%> -<% selector ||= nil %> - -
- -
- diff --git a/app/views/campaigns/_fixed_top_action.html.erb b/app/views/campaigns/_fixed_top_action.html.erb deleted file mode 100644 index c2d20918..00000000 --- a/app/views/campaigns/_fixed_top_action.html.erb +++ /dev/null @@ -1,39 +0,0 @@ -<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%> - -
> -
- - - - - - -
-

<%= @campaign.name %>


- - <%= @nonprofit.name %> - <%= Format::Address.city_and_state(@nonprofit.city, @nonprofit.state_code) %> - - - - left - - - -
- <% if !@campaign.hide_thermometer %> -
- <%= render 'campaign_progress_bar_inner', selector: 'u-width--full' %> -
- <% end %> - - - - Promote - -
-
-
- diff --git a/client/js/campaigns/show/page.js b/client/js/campaigns/show/page.js index 43c11c25..e965c5ed 100755 --- a/client/js/campaigns/show/page.js +++ b/client/js/campaigns/show/page.js @@ -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()