The "advanced filter" link is moved to the top right side of the screen

This commit is contained in:
echarp 2019-02-27 12:44:02 +00:00
parent fc194b6f0b
commit 0a1b7fcbe3
5 changed files with 11 additions and 13 deletions

View File

@ -42,12 +42,6 @@
ical: link_to('iCal', events_path(:rss, ical: link_to('iCal', events_path(:rss,
tag: params[:tag], format: :ics, region: session[:region])) tag: params[:tag], format: :ics, region: session[:region]))
\-
= link_to page_path('filter') do
%em.fa.fa-filter
= t '.filter'
/%a#banner(href='https://april.org/campagne') /%a#banner(href='https://april.org/campagne')
/ = image_tag 'priorite-logiciel-libre-je-soutiens-april_2_m.png', / = image_tag 'priorite-logiciel-libre-je-soutiens-april_2_m.png',
/ width: '374', height: '48', / width: '374', height: '48',

View File

@ -8,3 +8,7 @@
= f.button class: :search do = f.button class: :search do
%em.fa.fa-search %em.fa.fa-search
%span.label= t '.label' %span.label= t '.label'
= link_to page_path('filter'), title: t('.filter') do
 
%em.fa.fa-angle-double-right

View File

@ -32,7 +32,6 @@ en:
calendar_in: This calendar in <em class='fa fa-rss'></em> %{rss}, <em class='fa fa-calendar'></em> %{webcal}/%{ical} calendar_in: This calendar in <em class='fa fa-rss'></em> %{rss}, <em class='fa fa-calendar'></em> %{webcal}/%{ical}
nb_events: "%{count} events" nb_events: "%{count} events"
map: Map map: Map
filter: Advanced filter
show: show:
at: At at: At
dateAndPlace: Date and place dateAndPlace: Date and place
@ -251,6 +250,7 @@ description."
title: Find your %{entity}! title: Find your %{entity}!
label: Search label: Search
helper: You can search an organisation by name, tag, description or city helper: You can search an organisation by name, tag, description or city
filter: Advanced filter
index: index:
title: Organisations title: Organisations
new: Add an organisation new: Add an organisation
@ -467,8 +467,8 @@ reason:
pages: pages:
filter: filter:
title: Advanced filtering title: Advanced filtering
helper: Choose one or more filters to display events or integrate them in helper: Choose one or more filters to display events/orgas or integrate
another website them in another website
past: Past past: Past
past_helper: Also include past events in RSS feed, map and geojson past_helper: Also include past events in RSS feed, map and geojson
period_year: Year period_year: Year

View File

@ -32,7 +32,6 @@ fr:
calendar_in: Ce calendrier en <em class='fa fa-rss'></em> %{rss}, <em class='fa fa-calendar'></em> %{webcal}/%{ical} calendar_in: Ce calendrier en <em class='fa fa-rss'></em> %{rss}, <em class='fa fa-calendar'></em> %{webcal}/%{ical}
nb_events: "%{count} événements" nb_events: "%{count} événements"
map: Carte map: Carte
filter: Filtrage avancé
show: show:
at: À at: À
dateAndPlace: Date et lieu dateAndPlace: Date et lieu
@ -267,6 +266,7 @@ description plus complète."
title: Trouve ton %{entity}! title: Trouve ton %{entity}!
label: Recherche label: Recherche
helper: Vous pouvez chercher une organisation par nom, mot clé, description ou ville helper: Vous pouvez chercher une organisation par nom, mot clé, description ou ville
filter: Filtrage avancé
index: index:
title: Organisations title: Organisations
new: Ajouter une organisation new: Ajouter une organisation
@ -483,8 +483,8 @@ pouvez éditer votre événement à l'adresse:"
pages: pages:
filter: filter:
title: Filtrage avancé title: Filtrage avancé
helper: Choisissez un ou plusieurs filtres pour afficher les événements helper: Choisissez un ou plusieurs filtres pour afficher les
ou les intégrer dans un autre site web événements/organisations ou les intégrer dans un autre site web
past: Passés past: Passés
past_helper: Inclure aussi les événements passés dans les flux RSS, carte et geojson past_helper: Inclure aussi les événements passés dans les flux RSS, carte et geojson
period_year: Année period_year: Année

View File

@ -32,7 +32,6 @@ pt-BR:
calendar_in: Este calendário em <em class='fa fa-rss'></em> %{rss}, <em class='fa fa-calendar'></em> %{webcal}/%{ical} calendar_in: Este calendário em <em class='fa fa-rss'></em> %{rss}, <em class='fa fa-calendar'></em> %{webcal}/%{ical}
nb_events: "%{count} eventos" nb_events: "%{count} eventos"
map: Mapa map: Mapa
filter: Busca avançada
show: show:
at: Em at: Em
dateAndPlace: Data e local dateAndPlace: Data e local
@ -252,6 +251,7 @@ descrição mais completa."
title: Encontre %{entity}! title: Encontre %{entity}!
label: Pesquisa label: Pesquisa
helper: You can search an organisation by name, tag, description or city (TODO) helper: You can search an organisation by name, tag, description or city (TODO)
filter: Busca avançada
index: index:
title: Organizações title: Organizações
new: Adicione uma organização new: Adicione uma organização