Skip to content

Commit

Permalink
fix: temporarliy "replace site issue" typeform link with google form (r…
Browse files Browse the repository at this point in the history
…ubyforgood#5788)

fix: temp site issue fix

Temporarily replace the typeform report a site issue
with a google form until we get it figured out.
  • Loading branch information
elasticspoon authored May 29, 2024
1 parent 08868ee commit 96baa7a
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
<a href="https://rubyforgood.org/">Ruby For Good</a>
</p>
<p class="text-sm ml-15">
<%= 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" %>
</p>
<p class="text-sm ml-15">
<%= link_to "SMS Terms & Conditions", "/sms-terms-conditions.html" %>
Expand Down
2 changes: 1 addition & 1 deletion app/views/layouts/footers/_logged_in.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Built by <a href="https://rubyforgood.org/">Ruby For Good</a>
</span>
<span class="col-12 col-sm-2">
<%= 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" %>
</span>
<span class="col-12 col-sm-2">
<%= link_to "SMS Terms & Conditions", "/sms-terms-conditions.html" %>
Expand Down
2 changes: 1 addition & 1 deletion app/views/layouts/footers/_not_logged_in.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<a href="https://rubyforgood.org/" class="rfglink" target="_blank">
<%= image_tag("rfglogo.png", class: "rfglogo") %>
</a>
<%= link_to "Report a site issue", "https://form.typeform.com/to/iXY4BubB", class: "rfglink" %><br>
<%= link_to "Report a site issue", "https://docs.google.com/forms/d/e/1FAIpQLSfM6dA5KkCuzIcdikete7C3wusoQ8p-EAyGyb38DFBlxzZjrg/viewform", class: "rfglink" %><br>
<%= link_to "SMS Terms & Conditions", "/sms-terms-conditions.html", class: "terms-conditions-link" %>
</span>

Expand Down
2 changes: 1 addition & 1 deletion spec/system/all_casa_admins/all_casa_admin_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions spec/views/layouts/footer.html.erb_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 96baa7a

Please sign in to comment.