summary refs log tree commit diff
path: root/res
diff options
context:
space:
mode:
authorMatthew Hodgson <matthew@matrix.org>2016-05-05 15:54:29 +0100
committerMatthew Hodgson <matthew@matrix.org>2016-05-05 15:54:29 +0100
commit81c2176cbadf7646fc075ca45dea4360ce7b8258 (patch)
tree1452fc8abf3940b3da717e0ef82cad8a8ecfa399 /res
parentfix app branding (diff)
downloadsynapse-81c2176cbadf7646fc075ca45dea4360ce7b8258.tar.xz
fix layout; handle app naming in synapse, not jinja
Diffstat (limited to 'res')
-rw-r--r--res/templates-vector/mail.css5
-rw-r--r--res/templates-vector/notif_mail.html4
-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
5 files changed, 9 insertions, 6 deletions
diff --git a/res/templates-vector/mail.css b/res/templates-vector/mail.css
index 642948fdc1..103c5ff8ca 100644
--- a/res/templates-vector/mail.css
+++ b/res/templates-vector/mail.css
@@ -85,11 +85,14 @@ body {
 .sender_name  {
     margin-left: 75px;
     display: inline;
-    font-weight: bold;
+    font-size: 13px;
+    color: #a2a2a2;
 }
 
 .message_time  {
     float: right;
+    font-size: 11px;
+    color: #a2a2a2;
 }
 
 .message_body {
diff --git a/res/templates-vector/notif_mail.html b/res/templates-vector/notif_mail.html
index 86e7b6e867..c49cc66548 100644
--- a/res/templates-vector/notif_mail.html
+++ b/res/templates-vector/notif_mail.html
@@ -8,9 +8,9 @@
     <body>
         <div id="page">
             <div class="header">
-                <img class="logo" src="http://matrix.org/img/vector-logo-email.png" width="64" height="83" alt="Vector"/>
+                <img class="logo" src="http://matrix.org/img/vector-logo-email.png" width="64" height="83" alt="[Vector]"/>
                 <div class="salutation">Hi {{ user_display_name }},</div>
-                <div class="summarytext">{{ summary_text|replace("%app%", "Vector") }}</div>
+                <div class="summarytext">{{ summary_text }}</div>
             </div>
             <div class="content">
                 {% for room in rooms %}
diff --git a/res/templates-vector/notif_mail.txt b/res/templates-vector/notif_mail.txt
index dec2e5960b..24843042a5 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|replace("%app%", "Vector") }}
+{{ summary_text }}
 
 {% for room in rooms %}
 {% include 'room.txt' with context %}
diff --git a/res/templates/notif_mail.html b/res/templates/notif_mail.html
index 0290fdea01..cc3573e65a 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|replace("%app%", "Matrix") }}</div>
+            <div className="summarytext">{{ summary_text }}</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 5d5a8442f9..24843042a5 100644
--- a/res/templates/notif_mail.txt
+++ b/res/templates/notif_mail.txt
@@ -1,6 +1,6 @@
 Hi {{ user_display_name }},
 
-{{ summary_text|replace("%app%", "Matrix") }}
+{{ summary_text }}
 
 {% for room in rooms %}
 {% include 'room.txt' with context %}