diff --git a/app/javascript/packs/page__profiles__fundraisers.js b/app/javascript/packs/page__profiles__fundraisers.js new file mode 100644 index 00000000..10da02c3 --- /dev/null +++ b/app/javascript/packs/page__profiles__fundraisers.js @@ -0,0 +1 @@ +require('../legacy/page.js') \ No newline at end of file diff --git a/app/javascript/packs/page__profiles__show.js b/app/javascript/packs/page__profiles__show.js new file mode 100644 index 00000000..10da02c3 --- /dev/null +++ b/app/javascript/packs/page__profiles__show.js @@ -0,0 +1 @@ +require('../legacy/page.js') \ No newline at end of file diff --git a/app/views/profiles/fundraisers.html.erb b/app/views/profiles/fundraisers.html.erb index aae509c1..ac2935b7 100644 --- a/app/views/profiles/fundraisers.html.erb +++ b/app/views/profiles/fundraisers.html.erb @@ -3,6 +3,10 @@ - Donor Fundraisers (P2P) <% end %> +<%= content_for :javascripts do %> + <%= javascript_pack_tag 'i18n', 'page__profiles__fundraisers'%> +<% end %> + <% content_for(:footer_hidden) {'hidden'} %> <% content_for :stylesheets do %> diff --git a/app/views/profiles/show.html.erb b/app/views/profiles/show.html.erb index 79932515..486fe7b7 100644 --- a/app/views/profiles/show.html.erb +++ b/app/views/profiles/show.html.erb @@ -2,7 +2,9 @@ <% content_for :title_suffix do %> - Donor Profile <% end %> - +<%= content_for :javascripts do %> + <%= javascript_pack_tag 'i18n', 'page__profiles__show'%> +<% end %> <% content_for :stylesheets do %> <%= stylesheet_link_tag 'profiles/show/page' %> <% end %>