From 3f8906d72a2556de68a7cab7c9f281f08a318b43 Mon Sep 17 00:00:00 2001 From: devketanpro Date: Wed, 10 Jan 2024 15:37:28 +0530 Subject: [PATCH] minor change --- server/theme/email_agenda.fr_ca.html | 7 ++++--- server/theme/email_agenda.fr_ca.txt | 8 ++++---- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/server/theme/email_agenda.fr_ca.html b/server/theme/email_agenda.fr_ca.html index b767532..3740458 100644 --- a/server/theme/email_agenda.fr_ca.html +++ b/server/theme/email_agenda.fr_ca.html @@ -1,7 +1,7 @@

{{ get_highlighted_field(item, ["headline", "name"]) | safe }}

-{{ url_for_agenda(item) }} +Voir cet élément dans votre compte: {{ url_for_agenda(item) }} -{% if item.event %}

{{ dateString }}

{% endif %} +{% if item.event %}

Quand: {{ dateString }}

{% endif %} {% if location and location != '' %}

Où: {{ location }}

@@ -32,6 +32,7 @@

{{ get_highlighted_field(item, ["headline", "name"]) | safe }}

{% endif %} {% if item.definition_long or item.definition_short %} + Description de l’événement:

{{ get_highlighted_field(item, ["definition_long", "definition_short"]) | safe }}

@@ -43,7 +44,7 @@

{{ get_highlighted_field(item, ["headline", "name"]) | safe }}

Élément de couverture:

{% if (planning_item.get('description_text') or planning_item.get('name') or '') != (item.definition_long or item.definition_short) %}

- {{ planning_item.get('description_text') or planning_item.get('name') or '' }} + Description de l’élément de planification: {{ planning_item.get('description_text') or planning_item.get('name') or '' }}

{% endif %} diff --git a/server/theme/email_agenda.fr_ca.txt b/server/theme/email_agenda.fr_ca.txt index c859483..3aa9d89 100644 --- a/server/theme/email_agenda.fr_ca.txt +++ b/server/theme/email_agenda.fr_ca.txt @@ -1,18 +1,18 @@ {{ item.headline or item.name }} -{{ url_for_agenda(item) }} -{% if item.event %}{{ dateString }}{% endif %} +Voir cet élément dans votre compte: {{ url_for_agenda(item) }} +{% if item.event %}Quand: {{ dateString }}{% endif %} {% if location and location != '' %}Où: {{ location }} {% endif %}{% if contacts | length is gt 1 %}Contact: {% for contact in contacts %}{{ contact.name or contact.organisation }} {{ contact.phone }} {{ contact.mobile }} {{ contact.email }} {% endfor %} {% endif %}{% if links | length is gt 1 %}Web: {% for link in links %}{{ link }} {% endfor %} {% endif %} -{% if item.definition_long or item.definition_short %}{{ item.definition_long or item.definition_short }} +{% if item.definition_long or item.definition_short %}Description de l’événement: {{ item.definition_long or item.definition_short }} {% endif %} {% for planning_item in item.get('planning_items', []) or [] %} Élément de couverture: {%- if (planning_item.get('description_text') or planning_item.get('name') or '') != (item.definition_long or item.definition_short) %} -{{ planning_item.get('description_text') or planning_item.get('name') or '' }} +Description de l’élément de planification: {{ planning_item.get('description_text') or planning_item.get('name') or '' }} {% endif -%} {% if planning_item.get('ednote') %}Note de la rédaction: {{ planning_item.get('ednote') }}{% endif %} {% if planning_item.get('coverages', []) | length is gt 0 %}