From c7b4a745377af8e428e7dd397cdaac595fa4264f Mon Sep 17 00:00:00 2001 From: Eric Schultz Date: Fri, 8 Feb 2019 14:39:17 -0600 Subject: [PATCH] Remove the weird, unneeded events in profile view --- app/views/profiles/fundraisers.html.erb | 6 ------ app/views/profiles/show.html.erb | 4 ---- client/js/profiles/fundraisers/page.js | 4 ---- client/js/profiles/show/page.js | 2 -- 4 files changed, 16 deletions(-) delete mode 100644 client/js/profiles/fundraisers/page.js delete mode 100644 client/js/profiles/show/page.js diff --git a/app/views/profiles/fundraisers.html.erb b/app/views/profiles/fundraisers.html.erb index a8c5d34e..aae509c1 100644 --- a/app/views/profiles/fundraisers.html.erb +++ b/app/views/profiles/fundraisers.html.erb @@ -3,10 +3,6 @@ - Donor Fundraisers (P2P) <% end %> -<% content_for :javascripts do %> - <%= IncludeAsset.js '/client/js/profiles/fundraisers/page.js' %> -<% end %> - <% content_for(:footer_hidden) {'hidden'} %> <% content_for :stylesheets do %> @@ -28,8 +24,6 @@
-

Managed Events

-

Managed Campaigns

<% if @edited_campaigns.any? %> diff --git a/app/views/profiles/show.html.erb b/app/views/profiles/show.html.erb index 8c6c54eb..79932515 100644 --- a/app/views/profiles/show.html.erb +++ b/app/views/profiles/show.html.erb @@ -3,10 +3,6 @@ - Donor Profile <% end %> -<% content_for :javascripts do %> - <%= IncludeAsset.js '/client/js/profiles/show/page.js' %> -<% end %> - <% content_for :stylesheets do %> <%= stylesheet_link_tag 'profiles/show/page' %> <% end %> diff --git a/client/js/profiles/fundraisers/page.js b/client/js/profiles/fundraisers/page.js deleted file mode 100644 index 11cdcc65..00000000 --- a/client/js/profiles/fundraisers/page.js +++ /dev/null @@ -1,4 +0,0 @@ -// License: LGPL-3.0-or-later -var renderListings = require('../../events/listings') -renderListings(`/profiles/${app.profile_id}/events`) - diff --git a/client/js/profiles/show/page.js b/client/js/profiles/show/page.js deleted file mode 100644 index 604fd33e..00000000 --- a/client/js/profiles/show/page.js +++ /dev/null @@ -1,2 +0,0 @@ -// License: LGPL-3.0-or-later -