From a5974f89d645790632a5d0ebb92d253984fe17db Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Thu, 5 May 2016 11:25:56 +0100 Subject: [PATCH] fix app branding --- res/templates-vector/notif_mail.txt | 2 +- res/templates/notif_mail.html | 2 +- res/templates/notif_mail.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/res/templates-vector/notif_mail.txt b/res/templates-vector/notif_mail.txt index 24843042a..dec2e5960 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 cc3573e65..0290fdea0 100644 --- a/res/templates/notif_mail.html +++ b/res/templates/notif_mail.html @@ -8,7 +8,7 @@
Hi {{ user_display_name }},
-
{{ summary_text }}
+
{{ summary_text|replace("%app%", "Matrix") }}
{% for room in rooms %} {% include 'room.html' with context %} diff --git a/res/templates/notif_mail.txt b/res/templates/notif_mail.txt index 24843042a..5d5a8442f 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 %}