Skip to content

Commit

Permalink
Adjust onboarding wizard links (#1388)
Browse files Browse the repository at this point in the history
* Adjust german links

* Adjust specs to new links
  • Loading branch information
njaeggi authored Dec 12, 2024
1 parent 3231101 commit 615714d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions config/locales/wagon.de.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1744,10 +1744,10 @@ de:
link_agb: https://www.sac-cas.ch/de/meta/agb/die-alpen/
link_faqs: https://www.sac-cas.ch/de/meta/faq/mitgliedschaft
link_faqs_title: FAQs
link_statutes: https://www.sac-cas.ch/fileadmin/Der_SAC/Statuten/20230816_SAC_Statuten_A5_DE.pdf
link_statutes: https://www.sac-cas.ch/fileadmin/Der_SAC/Über_uns/SAC-Statuten.pdf
link_statutes_title: Statuten
link_sektion_statuten_title: Sektionsstatuten
link_contribution_regulations: https://www.sac-cas.ch/fileadmin/Spezial/SAC-Mitgliedschaft/DE/Beitragsreglement_AV_2020_-_Gültig_ab_1.1.2021.pdf
link_contribution_regulations: https://www.sac-cas.ch/fileadmin/Spezial/SAC-Mitgliedschaft/DE/Beitragsreglement_AV_2024_-_Gültig_ab_1.1.2025.pdf
link_contribution_regulations_title: Beitragsreglement
link_data_protection: https://www.sac-cas.ch/de/meta/datenschutz
link_data_protection_title: Datenschutzerklärung
Expand Down
4 changes: 2 additions & 2 deletions spec/components/self_registration/infos_component_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,11 @@
end

it "renders link to statutes" do
expect(body).to have_link "Statuten", href: "https://www.sac-cas.ch/fileadmin/Der_SAC/Statuten/20230816_SAC_Statuten_A5_DE.pdf"
expect(body).to have_link "Statuten", href: "https://www.sac-cas.ch/fileadmin/Der_SAC/#{CGI.escape("Ü")}ber_uns/SAC-Statuten.pdf"
end

it "renders link to contributation regulations" do
file = CGI.escape("Beitragsreglement_AV_2020_-_Gültig_ab_1.1.2021.pdf")
file = CGI.escape("Beitragsreglement_AV_2024_-_Gültig_ab_1.1.2025.pdf")
expect(body).to have_link "Beitragsreglement", href: "https://www.sac-cas.ch/fileadmin/Spezial/SAC-Mitgliedschaft/DE/#{file}"
end

Expand Down

0 comments on commit 615714d

Please sign in to comment.