Skip to content
Extraits de code Groupes Projets
Valider 61529e4e rédigé par echarp's avatar echarp
Parcourir les fichiers

Event counts are added to the tags' pages

parent a9c5d6bc
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
%h2
%em.fa.fa-tag
= title t '.title'
\-
= title params[:id]
%h2
%em.fa.fa-forward
= t '.future'
\-
= t '.count', count: @events_future.count
%aside
%h1
%em.fa.fa-link
......@@ -46,14 +54,16 @@
%span= event.address
%p= display_date event
.description
= description sanitize event.description,
tags: %w(p h1 h2 h3 h4 br table tr th td ul ol li a strong b em i img sub sup span),
attributes: %w(href src width height style title)
= sanitize event.description,
tags: %w[p h1 h2 h3 h4 br table tr th td ul ol li a strong b em i img sub sup span],
attributes: %w[href src width height style title]
- if @events_past.any?
%h2
%em.fa.fa-backward
= t '.past'
\-
= t '.count', count: @events_past.count
%ul.fa-ul
- @events_past.order('start_time desc').each do |event|
%li
......
......@@ -151,9 +151,14 @@ it more readable or agreable."
index:
title: Tags
show:
title: Tag
links: See also
future: Future
past: Past
count:
zero:
one: one event
other: "%{count} events"
moderations:
index:
title: Events to moderate
......
......@@ -165,9 +165,14 @@ l’évènement pour la rendre plus complète, plus lisible ou plus attrayante."
index:
title: Mots-clés
show:
title: Mot-clé
links: Voir aussi
future: Prochainement
past: Dans le passé
count:
zero:
one: Un événement
other: "%{count} événements"
moderations:
index:
title: Événements à modérer
......
......@@ -152,9 +152,14 @@ completa, deixando o texto mais legível e agradável.
index:
title: Tags
show:
title: Tag
links: Veja também
future: Futuro
past: Passado
count:
zero:
one: um evento
other: "%{count} eventos"
moderations:
index:
title: Eventos para moderar
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter