From 8591f4f786253acb16b0a659193148e0fc34fbf7 Mon Sep 17 00:00:00 2001 From: echarp Date: Sat, 14 Oct 2017 22:15:09 +0200 Subject: [PATCH] The map link/icon is back into the footer instead of under the month agenda --- app/views/events/index.html.haml | 1 - app/views/layouts/application.html.haml | 3 +++ config/locales/views/en.yml | 2 +- config/locales/views/fr.yml | 2 +- config/locales/views/pt-BR.yml | 2 +- 5 files changed, 6 insertions(+), 4 deletions(-) diff --git a/app/views/events/index.html.haml b/app/views/events/index.html.haml index b615693a..05fa819f 100644 --- a/app/views/events/index.html.haml +++ b/app/views/events/index.html.haml @@ -37,7 +37,6 @@ .links = raw t '.calendar_in', - map: link_to(t('.map'), maps_path(tag: params[:tag])), rss: link_to('RSS', events_path(:rss, tag: params[:tag], region: session[:region])), webcal: link_to('webcal', events_path(tag: params[:tag], diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml index b4c0361d..7a0fe060 100644 --- a/app/views/layouts/application.html.haml +++ b/app/views/layouts/application.html.haml @@ -40,6 +40,9 @@ %em.fa.fa-users = t '.propose_orga' %br/ + = link_to maps_path do + %em.fa.fa-map + = t '.map' = link_to tags_path do %em.fa.fa-tags = t '.tags' diff --git a/config/locales/views/en.yml b/config/locales/views/en.yml index b7357073..775e5450 100644 --- a/config/locales/views/en.yml +++ b/config/locales/views/en.yml @@ -29,7 +29,7 @@ en: title: Hello, events: index: - calendar_in: This calendar in %{map}, %{rss}, %{webcal}/%{ical} + calendar_in: This calendar in %{rss}, %{webcal}/%{ical} nb_events: "%{count} events" map: Map filter: Advanced filter diff --git a/config/locales/views/fr.yml b/config/locales/views/fr.yml index f58c8d4e..875f5415 100644 --- a/config/locales/views/fr.yml +++ b/config/locales/views/fr.yml @@ -29,7 +29,7 @@ fr: title: Bonjour, events: index: - calendar_in: Ce calendrier en %{map}, %{rss}, %{webcal}/%{ical} + calendar_in: Ce calendrier en %{rss}, %{webcal}/%{ical} nb_events: "%{count} événements" map: Carte filter: Filtrage avancé diff --git a/config/locales/views/pt-BR.yml b/config/locales/views/pt-BR.yml index ea81a5fb..fd0b78f4 100644 --- a/config/locales/views/pt-BR.yml +++ b/config/locales/views/pt-BR.yml @@ -29,7 +29,7 @@ pt-BR: title: Olá, events: index: - calendar_in: Este calendário em %{map}, %{rss}, %{webcal}/%{ical} + calendar_in: Este calendário em %{rss}, %{webcal}/%{ical} nb_events: "%{count} eventos" map: Mapa filter: Busca avançada