Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update agenda email templates [CPCN-779][CPCN-790] #178

Merged
merged 2 commits into from
Jun 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions server/theme/email_agenda.fr_ca.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<h1>{{ get_highlighted_field(item, ["headline", "name"]) | safe }}</h1>
<div><b>Nouvel élément pour votre sujet suivi: {{ topic_name }}</b></div>
<a href="{{ url_for_agenda(item) }}"><b>Voir cet élément dans votre compte: </b>{{ url_for_agenda(item) }}</a>
<a href="{{ url_for_agenda(item) }}"><b>Voir cet élément dans votre compte: </b>{{ url_for_agenda(item) }}<br></a>

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

Expand All @@ -27,7 +26,7 @@ <h1>{{ get_highlighted_field(item, ["headline", "name"]) | safe }}</h1>
{% if links | length is gt 1 %}
<p><b>Web: </b>
{% for link in links %}
<div><a href={{ link | safe }}>{{ link }}</a></div>
<div><a href={{ link | safe }}>{{ link }}</a><br></div>
{% endfor %}
</p>
{% endif %}
Expand Down Expand Up @@ -80,3 +79,4 @@ <h3>Élément de couverture:</h3>
{% endif %}
</div>
{% endfor %}
<div><b>Sujet enregistré: {{ topic_name }}</b></div>
4 changes: 2 additions & 2 deletions server/theme/email_agenda.fr_ca.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{{ item.headline or item.name }}
Nouvel élément pour votre sujet suivi: {{ topic_name }}
Voir cet élément dans votre compte: {{ url_for_agenda(item) }}
{% if item.event %}Quand: {{ dateString }} {{get_event_state(item)}}{% endif %}
{% if location and location != '' %}Où: {{ location }}
Expand Down Expand Up @@ -29,4 +28,5 @@ Affecté à:
{% if cov.get('assigned_user_email') %}{{cov['assigned_user_email']}}{% endif %}
{% endfor %}
{% endif %}
{% endfor %}
{% endfor %}
Sujet enregistré: {{ topic_name }}
7 changes: 4 additions & 3 deletions server/theme/email_agenda.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<h1>{{ get_highlighted_field(item, ["headline", "name"]) | safe }}</h1>
<div><b>New item for saved topic: {{ topic_name }}</b></div>
<a href="{{ url_for_agenda(item) }}"><b>View this item in your account: </b>{{ url_for_agenda(item) }}</a>
<a href="{{ url_for_agenda(item) }}"><b>View this item in your account: </b>{{ url_for_agenda(item) }} <br></a>
{% if item.event %}<p class="h3"><b>When:</b>{{ dateString }} {{get_event_state(item)}}</p>{% endif %}

{% if location and location != '' %}
Expand All @@ -26,7 +25,7 @@ <h1>{{ get_highlighted_field(item, ["headline", "name"]) | safe }}</h1>
{% if links | length is gt 1 %}
<p><b>Web: </b>
{% for link in links %}
<div><a href={{ link | safe }}>{{ link }}</a></div>
<div><a href={{ link | safe }}>{{ link }}</a><br></div>
{% endfor %}
</p>
{% endif %}
Expand Down Expand Up @@ -81,3 +80,5 @@ <h3>Planning item:</h3>
{% endif %}
</div>
{% endfor %}

<div><b>Saved topic: {{ topic_name }}</b></div>
4 changes: 2 additions & 2 deletions server/theme/email_agenda.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{{ item.headline or item.name }}
New item for saved topic: {{ topic_name }}
View this item in your account: {{ url_for_agenda(item) }}
{% if item.event %}When: {{ dateString }} {{get_event_state(item)}}{% endif %}
{% if location and location != '' %}Where: {{ location }}{% endif %}
Expand Down Expand Up @@ -30,4 +29,5 @@ Assigned to:
{% if cov.get('assigned_user_email') %}{{cov['assigned_user_email']}}{% endif %}
{% endfor %}
{% endif %}
{% endfor %}
{% endfor %}
Saved topic: {{ topic_name }}
Loading