diff --git a/res/templates-vector/notif_mail.txt b/res/templates-vector/notif_mail.txt index 24843042a540bb07f83efb56fdb9c925776072f1..dec2e5960b90895480279c9019e23625b468b3a0 100644 --- a/res/templates-vector/notif_mail.txt +++ b/res/templates-vector/notif_mail.txt @@ -1,6 +1,6 @@ Hi {{ user_display_name }}, -{{ summary_text }} +{{ summary_text|replace("%app%", "Vector") }} {% for room in rooms %} {% include 'room.txt' with context %} diff --git a/res/templates/notif_mail.html b/res/templates/notif_mail.html index cc3573e65a5626c9e4b058402e266e7fc9d1b747..0290fdea012c29f73face085f328d0cd09d2a08a 100644 --- a/res/templates/notif_mail.html +++ b/res/templates/notif_mail.html @@ -8,7 +8,7 @@ <body> <div id="page"> <div className="salutation">Hi {{ user_display_name }},</div> - <div className="summarytext">{{ summary_text }}</div> + <div className="summarytext">{{ summary_text|replace("%app%", "Matrix") }}</div> <div class="content"> {% for room in rooms %} {% include 'room.html' with context %} diff --git a/res/templates/notif_mail.txt b/res/templates/notif_mail.txt index 24843042a540bb07f83efb56fdb9c925776072f1..5d5a8442f9fa862349f6dd6ae9f548f55c13968c 100644 --- a/res/templates/notif_mail.txt +++ b/res/templates/notif_mail.txt @@ -1,6 +1,6 @@ Hi {{ user_display_name }}, -{{ summary_text }} +{{ summary_text|replace("%app%", "Matrix") }} {% for room in rooms %} {% include 'room.txt' with context %}