From 96baa7a5c04f0842c0377e83dc16242b1cc6e072 Mon Sep 17 00:00:00 2001 From: Yuri Bocharov Date: Tue, 28 May 2024 20:20:47 -0400 Subject: [PATCH] fix: temporarliy "replace site issue" typeform link with google form (#5788) fix: temp site issue fix Temporarily replace the typeform report a site issue with a google form until we get it figured out. --- app/views/layouts/application.html.erb | 2 +- app/views/layouts/footers/_logged_in.html.erb | 2 +- app/views/layouts/footers/_not_logged_in.html.erb | 2 +- spec/system/all_casa_admins/all_casa_admin_spec.rb | 2 +- spec/views/layouts/footer.html.erb_spec.rb | 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index 3c640843ba..e79e5d2cd1 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -87,7 +87,7 @@ Ruby For Good

- <%= link_to "Report a site issue", "https://form.typeform.com/to/iXY4BubB" %> + <%= link_to "Report a site issue", "https://docs.google.com/forms/d/e/1FAIpQLSfM6dA5KkCuzIcdikete7C3wusoQ8p-EAyGyb38DFBlxzZjrg/viewform" %>

<%= link_to "SMS Terms & Conditions", "/sms-terms-conditions.html" %> diff --git a/app/views/layouts/footers/_logged_in.html.erb b/app/views/layouts/footers/_logged_in.html.erb index 880129cd48..33cba0d583 100644 --- a/app/views/layouts/footers/_logged_in.html.erb +++ b/app/views/layouts/footers/_logged_in.html.erb @@ -5,7 +5,7 @@ Built by Ruby For Good - <%= link_to "Report a site issue", "https://form.typeform.com/to/iXY4BubB" %> + <%= link_to "Report a site issue", "https://docs.google.com/forms/d/e/1FAIpQLSfM6dA5KkCuzIcdikete7C3wusoQ8p-EAyGyb38DFBlxzZjrg/viewform" %> <%= link_to "SMS Terms & Conditions", "/sms-terms-conditions.html" %> diff --git a/app/views/layouts/footers/_not_logged_in.html.erb b/app/views/layouts/footers/_not_logged_in.html.erb index 4f70f82d7c..5d7ab90a42 100644 --- a/app/views/layouts/footers/_not_logged_in.html.erb +++ b/app/views/layouts/footers/_not_logged_in.html.erb @@ -5,7 +5,7 @@ <%= image_tag("rfglogo.png", class: "rfglogo") %> - <%= link_to "Report a site issue", "https://form.typeform.com/to/iXY4BubB", class: "rfglink" %>
+ <%= link_to "Report a site issue", "https://docs.google.com/forms/d/e/1FAIpQLSfM6dA5KkCuzIcdikete7C3wusoQ8p-EAyGyb38DFBlxzZjrg/viewform", class: "rfglink" %>
<%= link_to "SMS Terms & Conditions", "/sms-terms-conditions.html", class: "terms-conditions-link" %>
diff --git a/spec/system/all_casa_admins/all_casa_admin_spec.rb b/spec/system/all_casa_admins/all_casa_admin_spec.rb index 446ab4f84e..bc1ff21a2a 100644 --- a/spec/system/all_casa_admins/all_casa_admin_spec.rb +++ b/spec/system/all_casa_admins/all_casa_admin_spec.rb @@ -40,7 +40,7 @@ # footer expect(page).to have_link("Ruby For Good", href: "https://rubyforgood.org/") - expect(page).to have_link("Report a site issue", href: "https://form.typeform.com/to/iXY4BubB") + expect(page).to have_link("Report a site issue", href: "https://docs.google.com/forms/d/e/1FAIpQLSfM6dA5KkCuzIcdikete7C3wusoQ8p-EAyGyb38DFBlxzZjrg/viewform") expect(page).to have_link("SMS Terms & Conditions", href: "/sms-terms-conditions.html") # create new org diff --git a/spec/views/layouts/footer.html.erb_spec.rb b/spec/views/layouts/footer.html.erb_spec.rb index fde7182b41..76538dc069 100644 --- a/spec/views/layouts/footer.html.erb_spec.rb +++ b/spec/views/layouts/footer.html.erb_spec.rb @@ -4,7 +4,7 @@ context "when not logged in" do it "renders report issue link on the footer" do render partial: "layouts/footers/not_logged_in" - expect(rendered).to have_link("Report a site issue", href: "https://form.typeform.com/to/iXY4BubB") + expect(rendered).to have_link("Report a site issue", href: "https://docs.google.com/forms/d/e/1FAIpQLSfM6dA5KkCuzIcdikete7C3wusoQ8p-EAyGyb38DFBlxzZjrg/viewform") end it "renders SMS terms and conditions link on the footer" do @@ -21,7 +21,7 @@ context "when logged in" do it "renders report issue link on the footer" do render partial: "layouts/footers/logged_in" - expect(rendered).to have_link("Report a site issue", href: "https://form.typeform.com/to/iXY4BubB") + expect(rendered).to have_link("Report a site issue", href: "https://docs.google.com/forms/d/e/1FAIpQLSfM6dA5KkCuzIcdikete7C3wusoQ8p-EAyGyb38DFBlxzZjrg/viewform") end it "renders SMS terms and conditions link on the footer" do