diff --git a/app/assets/javascripts/footer_modal.js b/app/assets/javascripts/footer_modal.js
new file mode 100644
index 000000000..28d02804f
--- /dev/null
+++ b/app/assets/javascripts/footer_modal.js
@@ -0,0 +1,5 @@
+document.addEventListener("turbolinks:load", () => {
+ if (window.location.hash == "#sponsors") {
+ $('#sponsors').modal('show');
+ }
+});
diff --git a/app/views/main/_sponsors.html.erb b/app/views/main/_sponsors.html.erb
new file mode 100644
index 000000000..298612e94
--- /dev/null
+++ b/app/views/main/_sponsors.html.erb
@@ -0,0 +1,111 @@
+
+ <%= t('sponsors.sponsorships') %>
+
+
+ <%= t('sponsors.uni_hd') %>
+
+
+ -
+
+ 2022-2023:
+
+ <%= t('sponsors.heiquality_html',
+ hendrik: link_to('Hendrik Kasten',
+ 'https://www.mathi.uni-heidelberg.de/~kasten/',
+ target: :_blank),
+ denis: link_to('Denis Vogel',
+ 'https://www.mathi.uni-heidelberg.de/~vogel/',
+ target: :_blank)) %>
+
+ -
+
+ 2019-2020:
+
+ <%= t('sponsors.heistart_html',
+ hendrik: link_to('Hendrik Kasten',
+ 'https://www.mathi.uni-heidelberg.de/~kasten/',
+ target: :_blank),
+ oli: link_to('Oliver Thomas',
+ 'https://www.mathi.uni-heidelberg.de/~othomas/',
+ target: :_blank),
+ denis: link_to('Denis Vogel',
+ 'https://www.mathi.uni-heidelberg.de/~vogel/',
+ target: :_blank),
+ fs_mathphysinfo: link_to('Fachschaft MathPhysInfo',
+ 'https://mathphys.fsk.uni-heidelberg.de/w/',
+ target: :_blank)) %>
+
+ -
+
+ 2018:
+
+ <%= t('sponsors.physics_html',
+ physics_faculty: link_to('Fakultät für Physik und Astronomie',
+ 'https://www.physik.uni-heidelberg.de/',
+ target: :_blank)) %>
+
+ -
+
+ <%= t('basics.since') %> 2017:
+
+ <%= t('sponsors.math_html',
+ math_faculty: link_to('Fakultät für Mathematik und Informatik',
+ 'https://mathinf.uni-heidelberg.de/',
+ target: :_blank)) %>
+
+
+
+ <%= t('sponsors.hse') %>
+
+
+ -
+
+ 2019:
+
+ <%= t('sponsors.go_digital_html',
+ digital_now: link_to('HSE: Go digital! Now!',
+ 'https://hse-heidelberg.de/ueber-uns/hse-go-digital-now',
+ target: :_blank)) %>
+
+ -
+
+ 2018-2019:
+
+ <%= t('sponsors.fellowship_html',
+ place: link_to('PLACE',
+ 'https://www.hse-heidelberg.de/ueber-uns/place',
+ target: :_blank),
+ hendrik: link_to('Hendrik Kasten',
+ 'https://www.mathi.uni-heidelberg.de/~kasten/',
+ target: :_blank),
+ fellowship_project: link_to('"Geometrie und Unterricht - Ausgestaltung eines
+ profillinienübergreifenden Verschränkungsmoduls im
+ Fach Mathematik"',
+ 'https://hse-heidelberg.de/forschung/forschungsprojekte/geometrie-und-unterricht-ausgestaltung-eines',
+ target: :_blank)) %>
+
+ -
+
+ 2018:
+
+ <%= t('sponsors.zurlamitmu_html',
+ place: link_to('PLACE',
+ 'https://www.hse-heidelberg.de/ueber-uns/place',
+ target: :_blank),
+ markus: link_to('Markus Vogel',
+ 'https://www.ph-heidelberg.de/vogel-markus.html',
+ target: :_blank),
+ denis: link_to('Denis Vogel',
+ 'https://www.mathi.uni-heidelberg.de/~vogel/',
+ target: :_blank),
+ zurlamitmu_project: link_to('"ZurLAmitMU"',
+ 'https://hse-heidelberg.de/forschung/forschungsprojekte/zurlamitmu-zugaenge-zur-linearen-algebra-mit-multimedia-erleichtern',
+ target: :_blank)) %>
+
+
+
+
\ No newline at end of file
diff --git a/app/views/main/sponsors.html.erb b/app/views/main/sponsors.html.erb
deleted file mode 100644
index 6302bba28..000000000
--- a/app/views/main/sponsors.html.erb
+++ /dev/null
@@ -1,107 +0,0 @@
-
-
- <%= t('sponsors.sponsorships') %>
-
-
- <%= t('sponsors.uni_hd') %>
-
-
- -
-
- 2022-2023:
-
- <%= t('sponsors.heiquality_html',
- hendrik: link_to('Hendrik Kasten',
- 'https://www.mathi.uni-heidelberg.de/~kasten/',
- target: :_blank),
- denis: link_to('Denis Vogel',
- 'https://www.mathi.uni-heidelberg.de/~vogel/',
- target: :_blank)) %>
-
- -
-
- 2019-2020:
-
- <%= t('sponsors.heistart_html',
- hendrik: link_to('Hendrik Kasten',
- 'https://www.mathi.uni-heidelberg.de/~kasten/',
- target: :_blank),
- oli: link_to('Oliver Thomas',
- 'https://www.mathi.uni-heidelberg.de/~othomas/',
- target: :_blank),
- denis: link_to('Denis Vogel',
- 'https://www.mathi.uni-heidelberg.de/~vogel/',
- target: :_blank),
- fs_mathphysinfo: link_to('Fachschaft MathPhysInfo',
- 'https://mathphys.fsk.uni-heidelberg.de/w/',
- target: :_blank)) %>
-
- -
-
- 2018:
-
- <%= t('sponsors.physics_html',
- physics_faculty: link_to('Fakultät für Physik und Astronomie',
- 'https://www.physik.uni-heidelberg.de/',
- target: :_blank)) %>
-
- -
-
- <%= t('basics.since') %> 2017:
-
- <%= t('sponsors.math_html',
- math_faculty: link_to('Fakultät für Mathematik und Informatik',
- 'https://mathinf.uni-heidelberg.de/',
- target: :_blank)) %>
-
-
-
- <%= t('sponsors.hse') %>
-
-
- -
-
- 2019:
-
- <%= t('sponsors.go_digital_html',
- digital_now: link_to('HSE: Go digital! Now!',
- 'https://hse-heidelberg.de/ueber-uns/hse-go-digital-now',
- target: :_blank)) %>
-
- -
-
- 2018-2019:
-
- <%= t('sponsors.fellowship_html',
- place: link_to('PLACE',
- 'https://www.hse-heidelberg.de/ueber-uns/place',
- target: :_blank),
- hendrik: link_to('Hendrik Kasten',
- 'https://www.mathi.uni-heidelberg.de/~kasten/',
- target: :_blank),
- fellowship_project: link_to('"Geometrie und Unterricht - Ausgestaltung eines
- profillinienübergreifenden Verschränkungsmoduls im
- Fach Mathematik"',
- 'https://hse-heidelberg.de/forschung/forschungsprojekte/geometrie-und-unterricht-ausgestaltung-eines',
- target: :_blank)) %>
-
- -
-
- 2018:
-
- <%= t('sponsors.zurlamitmu_html',
- place: link_to('PLACE',
- 'https://www.hse-heidelberg.de/ueber-uns/place',
- target: :_blank),
- markus: link_to('Markus Vogel',
- 'https://www.ph-heidelberg.de/vogel-markus.html',
- target: :_blank),
- denis: link_to('Denis Vogel',
- 'https://www.mathi.uni-heidelberg.de/~vogel/',
- target: :_blank),
- zurlamitmu_project: link_to('"ZurLAmitMU"',
- 'https://hse-heidelberg.de/forschung/forschungsprojekte/zurlamitmu-zugaenge-zur-linearen-algebra-mit-multimedia-erleichtern',
- target: :_blank)) %>
-
-
-
\ No newline at end of file
diff --git a/app/views/shared/_footer.html.erb b/app/views/shared/_footer.html.erb
index c0666d56f..ed42a2b91 100644
--- a/app/views/shared/_footer.html.erb
+++ b/app/views/shared/_footer.html.erb
@@ -1,4 +1,17 @@
+<%= javascript_include_tag :footer_modal %>
+
<% I18n.with_locale(current_user.try(:locale)) do %>
+
+<%# Sponsors modal %>
+
+
+<%# Footbar %>
@@ -39,9 +52,8 @@
target: :_blank)) %>
- <%= t('footer.sponsors_html',
- sponsors: link_to(t('basics.sponsors'),
- sponsors_path)) %>
+
<%= t('basics.sponsors') %>
- %{sponsors}:
sponsors:
sponsorships: 'Projektförderungen'
hse: 'Heidelberg School of Education (HSE)'
diff --git a/config/locales/en.yml b/config/locales/en.yml
index b514032d5..b228ee172 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -107,8 +107,6 @@ en:
Bugs can be reported %{bugs}.
We encourage you to send further feedback to %{feedback}.
Background image by %{background_photo_credit}.
- sponsors_html: >
- %{sponsors}:
sponsors:
sponsorships: 'Projekt funding'
hse: 'Heidelberg School of Education (HSE)'
diff --git a/config/routes.rb b/config/routes.rb
index 964976b33..3702cfc13 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -883,10 +883,6 @@
to: 'main#comments',
as: 'comments'
- get 'main/sponsors',
- to: 'main#sponsors',
- as: 'sponsors'
-
get 'main/start',
to: 'main#start',
as: 'start'