summary refs log tree commit diff
path: root/res/templates
diff options
context:
space:
mode:
authorDavid Baker <dbkr@users.noreply.github.com>2016-05-24 14:30:51 +0100
committerDavid Baker <dbkr@users.noreply.github.com>2016-05-24 14:30:51 +0100
commitcbf8d146ac61fa748088f494147583498dd39b41 (patch)
treee6b6815162d192b3b0361257fb364ccf256d0a5c /res/templates
parentMerge pull request #798 from negzi/bugfix_create_user_feature (diff)
parentcatch thinko in presentable names (diff)
downloadsynapse-cbf8d146ac61fa748088f494147583498dd39b41.tar.xz
Merge pull request #799 from matrix-org/matthew/quieter-email-notifs
Tune email notifs to make them quieter:
Diffstat (limited to 'res/templates')
-rw-r--r--res/templates/mail.css5
-rw-r--r--res/templates/notif_mail.html4
2 files changed, 7 insertions, 2 deletions
diff --git a/res/templates/mail.css b/res/templates/mail.css
index f2b5e84abc..5ab3e1b06d 100644
--- a/res/templates/mail.css
+++ b/res/templates/mail.css
@@ -145,6 +145,11 @@ pre, code {
     text-decoration: none;
 }
 
+.debug {
+    font-size: 10px;
+    color: #888;
+}
+
 .footer {
     margin-top: 20px;
     text-align: center;
diff --git a/res/templates/notif_mail.html b/res/templates/notif_mail.html
index dc13398df1..1146ee133b 100644
--- a/res/templates/notif_mail.html
+++ b/res/templates/notif_mail.html
@@ -30,7 +30,7 @@
                         {% include 'room.html' with context %}
                     {% endfor %}
                     <div class="footer">
-                        <small>
+                        <div class="debug">
                             Sending email at {{ reason.now|format_ts("%c") }} due to activity in room '{{ reason.room_name }}' because:<br/>
                             1. An event was received at {{ reason.received_at|format_ts("%c") }}
                             which is more than {{ "%.1f"|format(reason.delay_before_mail_ms / (60*1000)) }} (delay_before_mail_ms) mins ago.<br/>
@@ -40,7 +40,7 @@
                             {% else %}
                                 2. We can't remember the last time we sent a mail for this room.
                             {% endif %}
-                        </small>
+                        </div>
                         <a href="{{ unsubscribe_link }}">Unsubscribe</a>
                     </div>
                 </td>