From 8ecae24f6c47476fbf53c5fd04089e7e093d7279 Mon Sep 17 00:00:00 2001 From: Marius Peter Date: Wed, 1 Jan 2025 14:37:12 +0100 Subject: Code of honor images. --- app/assets/images/baboon_reading_code_of_honor.webp | Bin 0 -> 620128 bytes app/assets/images/baboon_scoring_sheet.webp | Bin 0 -> 590800 bytes app/views/home/_code_of_honor.html.erb | 10 ++++++++++ 3 files changed, 10 insertions(+) create mode 100644 app/assets/images/baboon_reading_code_of_honor.webp create mode 100644 app/assets/images/baboon_scoring_sheet.webp diff --git a/app/assets/images/baboon_reading_code_of_honor.webp b/app/assets/images/baboon_reading_code_of_honor.webp new file mode 100644 index 0000000..dd380b1 Binary files /dev/null and b/app/assets/images/baboon_reading_code_of_honor.webp differ diff --git a/app/assets/images/baboon_scoring_sheet.webp b/app/assets/images/baboon_scoring_sheet.webp new file mode 100644 index 0000000..ac8da98 Binary files /dev/null and b/app/assets/images/baboon_scoring_sheet.webp differ diff --git a/app/views/home/_code_of_honor.html.erb b/app/views/home/_code_of_honor.html.erb index f2a306d..cd1950b 100644 --- a/app/views/home/_code_of_honor.html.erb +++ b/app/views/home/_code_of_honor.html.erb @@ -1,5 +1,15 @@

Code d'Honneur

+ <% if session[:agreed_to_code_of_honor] %> + <%= image_tag("baboon_scoring_sheet.webp", + alt: "Baboon reviewing a scoring sheet", + id: "baboon-scoring", + width: "100%") %> + <% else %> + <%= image_tag("baboon_reading_code_of_honor.webp", + alt: "Baboon reviewing a scoring sheet", + id: "baboon-scoring", + width: "100%") %> <% end %>

Tout Tartifleur s'engage à voter dans le respect de la tradition de la WTT. Il ou elle se doit de voter en toute -- cgit v1.2.3