Skip to content

Commit

Permalink
update templates
Browse files Browse the repository at this point in the history
  • Loading branch information
devketanpro committed Aug 28, 2024
1 parent e7317b7 commit 0bfb679
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions server/theme/email_agenda.fr_ca.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<h1>{{ get_highlighted_field(item, ["headline", "name"]) | safe }}</h1>

<b>Voir cet élément dans votre compte : <a href="{{ url_for_agenda(item) }}">{{ url_for_agenda(item) }}</a></b><br>
<b>Voir cet élément dans votre compte : </b><a href="{{ url_for_agenda(item) }}">{{ url_for_agenda(item) }}</a><br>

{% if item.event %}
<p class="h3"><b>Quand : </b>{{ dateString }} {{get_event_state(item)}}</p>
Expand Down Expand Up @@ -44,7 +44,7 @@ <h1>{{ get_highlighted_field(item, ["headline", "name"]) | safe }}</h1>
{% for planning_item in item.get('planning_items', []) or [] %}
<div>
<div>
<h3>Élément de couverture :</h3>
<h3>Élément de couverture : </h3>
{% if (planning_item.get('description_text') or planning_item.get('name') or '') != (item.definition_long or item.definition_short) %}
<p>
<b>Description de l’élément de planification : </b>{{ planning_item.get('description_text') or planning_item.get('name') or '' }}
Expand All @@ -54,15 +54,15 @@ <h3>Élément de couverture :</h3>

{% if planning_item.get('ednote') %}
<div>
<strong>Note de la rédaction :</strong>
<strong>Note de la rédaction : </strong>
{{ planning_item.get('ednote') }}
</div>
{% endif %}

{% if planning_item.get('coverages', []) %}
<p>
<div>
<p><strong>Couverture :</strong></p>
<p><strong>Couverture : </strong></p>
</div>

{% for cov in get_planning_coverages(item, planning_item._id) %}
Expand Down
2 changes: 1 addition & 1 deletion server/theme/email_agenda.fr_ca.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Voir cet élément dans votre compte : {{ url_for_agenda(item) }}
Type de couverture : {{ get_coverage_content_type(cov, recipient_language) }}
Statut de couverture : {{ get_coverage_status(cov) }}
Date et heure d’échéance de la couverture : {{ get_coverage_date(cov) }}
Affecté à :
Affectée à :
{% if cov.get('assigned_desk_name') %}{{ cov['assigned_desk_name'] }}{% endif %}
{% if cov.get('assigned_desk_email') %}{{ cov['assigned_desk_email'] }}{% endif %}
{% if cov.get('assigned_user_name') %}{{ cov['assigned_user_name'] }}{% endif %}
Expand Down
2 changes: 1 addition & 1 deletion server/theme/email_agenda.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<h1>{{ get_highlighted_field(item, ["headline", "name"]) | safe }}</h1>

<b>View this item in your account : <a href="{{ url_for_agenda(item) }}">{{ url_for_agenda(item) }}</a></b><br>
<b>View this item in your account : </b><a href="{{ url_for_agenda(item) }}">{{ url_for_agenda(item) }}</a><br>

{% if item.event %}
<p class="h3"><b>When : </b>{{ dateString }} {{ get_event_state(item) }}</p>
Expand Down

0 comments on commit 0bfb679

Please sign in to comment.