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

Element CSS and logo in email templates #7919

Merged
merged 1 commit into from
Jul 21, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.d/7919.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Use Element CSS and logo in notification emails when app name is Element.
7 changes: 7 additions & 0 deletions synapse/res/templates/mail-Element.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
.header {
border-bottom: 4px solid #e4f7ed ! important;
}

.notif_link a, .footer a {
color: #76CFA6 ! important;
}
2 changes: 2 additions & 0 deletions synapse/res/templates/notice_expiry.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
<img src="http://riot.im/img/external/riot-logo-email.png" width="83" height="83" alt="[Riot]"/>
{% elif app_name == "Vector" %}
<img src="http://matrix.org/img/vector-logo-email.png" width="64" height="83" alt="[Vector]"/>
{% elif app_name == "Element" %}
<img src="https://static.element.io/images/email-logo.png" width="83" height="83" alt="[Element]"/>
{% else %}
<img src="http://matrix.org/img/matrix-120x51.png" width="120" height="51" alt="[matrix]"/>
{% endif %}
Expand Down
2 changes: 2 additions & 0 deletions synapse/res/templates/notif_mail.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
<img src="http://riot.im/img/external/riot-logo-email.png" width="83" height="83" alt="[Riot]"/>
{% elif app_name == "Vector" %}
<img src="http://matrix.org/img/vector-logo-email.png" width="64" height="83" alt="[Vector]"/>
{% elif app_name == "Element" %}
<img src="https://static.element.io/images/email-logo.png" width="83" height="83" alt="[Element]"/>
{% else %}
<img src="http://matrix.org/img/matrix-120x51.png" width="120" height="51" alt="[matrix]"/>
{% endif %}
Expand Down