Skip to content

Commit

Permalink
Fix/revert site issue link change (#5813)
Browse files Browse the repository at this point in the history
* chore(docs): update TOC

* Revert "fix: temporarliy "replace site issue" typeform link with google form (#5788)"

This reverts commit 96baa7a.

---------

Co-authored-by: elasticspoon <elasticspoon@users.noreply.github.com>
  • Loading branch information
elasticspoon and elasticspoon authored Jun 5, 2024
1 parent 5def529 commit e596c58
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ A CASA (Court Appointed Special Advocate) is a role where a volunteer advocates
**Table of Contents**

- [Welcome contributors!](#welcome-contributors)
- [Communication and Collaboration](#communication-and-collaboration)
- [About this project](#about-this-project)
- [Developing! ✨🛠✨](#developing-)
- [How to Contribute](#how-to-contribute)
Expand All @@ -28,7 +29,6 @@ A CASA (Court Appointed Special Advocate) is a role where a volunteer advocates
- [Running the App / Verifying Installation](#running-the-app--verifying-installation)
- [Other Documentation](#other-documentation)
- [Acknowledgements](#acknowledgements)
- [Communication and Collaboration](#communication-and-collaboration)
- [Feedback](#feedback)

<!-- END doctoc generated TOC please keep comment here to allow auto update -->
Expand Down
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://docs.google.com/forms/d/e/1FAIpQLSfM6dA5KkCuzIcdikete7C3wusoQ8p-EAyGyb38DFBlxzZjrg/viewform" %>
<%= link_to "Report a site issue", "https://form.typeform.com/to/iXY4BubB" %>
</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://docs.google.com/forms/d/e/1FAIpQLSfM6dA5KkCuzIcdikete7C3wusoQ8p-EAyGyb38DFBlxzZjrg/viewform" %>
<%= link_to "Report a site issue", "https://form.typeform.com/to/iXY4BubB" %>
</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://docs.google.com/forms/d/e/1FAIpQLSfM6dA5KkCuzIcdikete7C3wusoQ8p-EAyGyb38DFBlxzZjrg/viewform", class: "rfglink" %><br>
<%= link_to "Report a site issue", "https://form.typeform.com/to/iXY4BubB", 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://docs.google.com/forms/d/e/1FAIpQLSfM6dA5KkCuzIcdikete7C3wusoQ8p-EAyGyb38DFBlxzZjrg/viewform")
expect(page).to have_link("Report a site issue", href: "https://form.typeform.com/to/iXY4BubB")
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://docs.google.com/forms/d/e/1FAIpQLSfM6dA5KkCuzIcdikete7C3wusoQ8p-EAyGyb38DFBlxzZjrg/viewform")
expect(rendered).to have_link("Report a site issue", href: "https://form.typeform.com/to/iXY4BubB")
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://docs.google.com/forms/d/e/1FAIpQLSfM6dA5KkCuzIcdikete7C3wusoQ8p-EAyGyb38DFBlxzZjrg/viewform")
expect(rendered).to have_link("Report a site issue", href: "https://form.typeform.com/to/iXY4BubB")
end

it "renders SMS terms and conditions link on the footer" do
Expand Down

0 comments on commit e596c58

Please sign in to comment.