Skip to content

Commit

Permalink
update templates
Browse files Browse the repository at this point in the history
  • Loading branch information
devketanpro committed Sep 2, 2024
1 parent 3600209 commit f6503b7
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion server/theme/email_agenda.fr_ca.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ <h1>{{ get_highlighted_field(item, ["headline", "name"]) | safe }}</h1>
{{ contact.mobile }}
{{ contact.email }}</div>
{% endfor %}
</p>
</p><br>
{% endif %}

{% if links | length is gt 1 %}
Expand Down Expand Up @@ -73,6 +73,7 @@ <h3>Élément de couverture : </h3>
<p><b>Affectée à : </b>
{% if cov.get('assigned_desk_name') %}{{cov['assigned_desk_name']}}{% endif %}
{% if cov.get('assigned_desk_email') %}<a href="mailto:{{cov['assigned_desk_email']}}?subject=Demande de couverture d’une utilisatrice de PC NouvellesPro : {{item.headline or item.name}}">{{cov['assigned_desk_email']}}</a>{% endif %}
/
{% if cov.get('assigned_user_name') %}{{cov['assigned_user_name']}}{% endif %}
{% if cov.get('assigned_user_email') %}<a href="mailto:{{cov['assigned_desk_email']}}?subject=Demande de couverture d’une utilisatrice de PC NouvellesPro : {{item.headline or item.name}}">{{cov['assigned_user_email']}}</a>{% endif %}
</p>
Expand Down
1 change: 1 addition & 0 deletions server/theme/email_agenda.fr_ca.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ Voir cet élément dans votre compte : {{ url_for_agenda(item) }}
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 %}
{% if cov.get('assigned_user_email') %}{{ cov['assigned_user_email'] }}{% endif %}
{% endfor %}
Expand Down
1 change: 1 addition & 0 deletions server/theme/email_agenda.html
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ <h3>Planning item : </h3>
<p><b>Assigned to : </b>
{% if cov.get('assigned_desk_name') %}{{ cov['assigned_desk_name'] }}{% endif %}
{% if cov.get('assigned_desk_email') %}<a href="mailto:{{ cov['assigned_desk_email'] }}?subject=Coverage inquiry from CP NewsPro user: {{ item.headline or item.name }}">{{ cov['assigned_desk_email'] }}</a>{% endif %}
/
{% if cov.get('assigned_user_name') %}{{ cov['assigned_user_name'] }}{% endif %}
{% if cov.get('assigned_user_email') %}<a href="mailto:{{ cov['assigned_desk_email'] }}?subject=Coverage inquiry from CP NewsPro user: {{ item.headline or item.name }}">{{ cov['assigned_user_email'] }}</a>{% endif %}
</p>
Expand Down
1 change: 1 addition & 0 deletions server/theme/email_agenda.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ View this item in your account : {{ url_for_agenda(item) }}
Assigned to :
{% 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 %}
{% if cov.get('assigned_user_email') %}{{ cov['assigned_user_email'] }}{% endif %}
{% endfor %}
Expand Down

0 comments on commit f6503b7

Please sign in to comment.