diff --git a/res/templates/mail.css b/res/templates/mail.css index f2b5e84abc87c7953a673f2b5b2fb1539b7be0f8..5ab3e1b06dd682a9abe6ba87e0be2524e46a7124 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 dc13398df1bd8299fc7c8f0c456c6586005db144..1146ee133b85d1815864c6d336ee9ae235bb8465 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>