Browse Source

Warning message on the main page

master
echarp 1 year ago
parent
commit
37875f9588
  1. 2
      app/views/events/index.html.haml
  2. 1
      config/locales/views/en.yml
  3. 1
      config/locales/views/fr.yml

2
app/views/events/index.html.haml

@ -1,3 +1,5 @@
%h2.warning= t '.warning'
- unless params[:year] || params[:start_date] || params[:iframe]
= render '/maps/events'

1
config/locales/views/en.yml

@ -31,6 +31,7 @@ en:
\nContact: %{contact}."
events:
index:
warning: Attention, most events have been canceled because of the pandemic, even if they still appear on the agenda. Take care!
calendar_in_html: This calendar in <em class='fa fa-rss'></em> %{rss},
<em class='fa fa-calendar'></em> %{webcal}/%{ical}
nb_events: "%{count} events"

1
config/locales/views/fr.yml

@ -31,6 +31,7 @@ fr:
\nVous pouvez nous joindre sur la page %{contact}."
events:
index:
warning: Attention, la plupart des évènements physiques sont annulés à cause de la pandémie, même s'ils apparaissent encore sur l'agenda. Prenez soin de vous!
calendar_in_html: Ce calendrier en <em class='fa fa-rss'></em> %{rss},
<em class='fa fa-calendar'></em> %{webcal}/%{ical}
nb_events: "%{count} événements"

Loading…
Cancel
Save