Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit 759481a

Browse files
authored
Element CSS and logo in email templates (#7919)
Use Element CSS and logo in notification emails when app name is Element. Signed-off-by: Jason Robinson <jasonr@matrix.org>
1 parent b7ddece commit 759481a

File tree

4 files changed

+12
-0
lines changed

4 files changed

+12
-0
lines changed

changelog.d/7919.misc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Use Element CSS and logo in notification emails when app name is Element.
+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
.header {
2+
border-bottom: 4px solid #e4f7ed ! important;
3+
}
4+
5+
.notif_link a, .footer a {
6+
color: #76CFA6 ! important;
7+
}

synapse/res/templates/notice_expiry.html

+2
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222
<img src="http://riot.im/img/external/riot-logo-email.png" width="83" height="83" alt="[Riot]"/>
2323
{% elif app_name == "Vector" %}
2424
<img src="http://matrix.org/img/vector-logo-email.png" width="64" height="83" alt="[Vector]"/>
25+
{% elif app_name == "Element" %}
26+
<img src="https://static.element.io/images/email-logo.png" width="83" height="83" alt="[Element]"/>
2527
{% else %}
2628
<img src="http://matrix.org/img/matrix-120x51.png" width="120" height="51" alt="[matrix]"/>
2729
{% endif %}

synapse/res/templates/notif_mail.html

+2
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222
<img src="http://riot.im/img/external/riot-logo-email.png" width="83" height="83" alt="[Riot]"/>
2323
{% elif app_name == "Vector" %}
2424
<img src="http://matrix.org/img/vector-logo-email.png" width="64" height="83" alt="[Vector]"/>
25+
{% elif app_name == "Element" %}
26+
<img src="https://static.element.io/images/email-logo.png" width="83" height="83" alt="[Element]"/>
2527
{% else %}
2628
<img src="http://matrix.org/img/matrix-120x51.png" width="120" height="51" alt="[matrix]"/>
2729
{% endif %}

0 commit comments

Comments
 (0)