Skip to content
Snippets Groups Projects
Commit 92268bd0 authored by Olivia206's avatar Olivia206
Browse files

added i18n to event status

parent 908ce278
No related branches found
No related tags found
Loading
......@@ -17,6 +17,10 @@ blocks:
title: Définitions
embed:
title: Intégration HTML
events:
current: En cours
future: À venir
archive: Archive
files:
title: Fichiers
gallery:
......
......@@ -42,7 +42,15 @@
</div>
{{ end }}
{{ if and .Params.events_categories $show_status }}
<p class="event-status">{{ .Params.dates.status }}</p>
<p class="event-status">
{{ if eq .Params.dates.status "current"}}
{{- i18n "blocks.events.current" -}}
{{ else if .Params.dates.status "future" }}
{{- i18n "blocks.events.future" -}}
{{ else if .Params.dates.status "archive" }}
{{- i18n "blocks.events.archive" -}}
{{ end }}
</p>
{{ end }}
{{ if and (site.Params.events.index.show_description) ($show_summary) }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment