summary refs log tree commit diff
path: root/res
diff options
context:
space:
mode:
authorMatthew Hodgson <matthew@matrix.org>2016-05-05 11:25:56 +0100
committerMatthew Hodgson <matthew@matrix.org>2016-05-05 11:25:56 +0100
commita5974f89d645790632a5d0ebb92d253984fe17db (patch)
treef973ae98a80d9742649916c284095e262e39946c /res
parentpep8 (diff)
downloadsynapse-a5974f89d645790632a5d0ebb92d253984fe17db.tar.xz
fix app branding
Diffstat (limited to 'res')
-rw-r--r--res/templates-vector/notif_mail.txt2
-rw-r--r--res/templates/notif_mail.html2
-rw-r--r--res/templates/notif_mail.txt2
3 files changed, 3 insertions, 3 deletions
diff --git a/res/templates-vector/notif_mail.txt b/res/templates-vector/notif_mail.txt
index 24843042a5..dec2e5960b 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 cc3573e65a..0290fdea01 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 24843042a5..5d5a8442f9 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 %}