From c14775c638735fd719a97f53cb119ccea37f2ba4 Mon Sep 17 00:00:00 2001 From: Aurélien Bompard Date: Thu, 1 Aug 2013 12:19:12 +0200 Subject: Use the user_id as key to avoid exposing the email address --- hyperkitty/templates/messages/message.html | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'hyperkitty/templates/messages') diff --git a/hyperkitty/templates/messages/message.html b/hyperkitty/templates/messages/message.html index 7140d75..23fa458 100644 --- a/hyperkitty/templates/messages/message.html +++ b/hyperkitty/templates/messages/message.html @@ -27,17 +27,21 @@ {% gravatar email.sender_email 40 %}
- {{email.sender_name|escapeemail}} + + {% if email.user_id %} + {{email.sender_name|escapeemail}} + {% else %} + {{email.sender_name|escapeemail}} + {% endif %} +
(permalink) {% if use_mockups %} -
Rank 8 -- cgit