From e255c7223ffc9f00f3c85bb573381cf20fcd40a6 Mon Sep 17 00:00:00 2001 From: Aurélien Bompard Date: Thu, 6 Dec 2012 10:51:22 +0100 Subject: Use django-gravatar2, the other one is unmaintained and buggy --- hyperkitty/templates/messages/message.html | 2 +- hyperkitty/templates/month_view.html | 2 +- hyperkitty/templates/recent_activities.html | 2 +- hyperkitty/templates/search.html | 2 +- hyperkitty/templates/threads/right_col.html | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) (limited to 'hyperkitty') diff --git a/hyperkitty/templates/messages/message.html b/hyperkitty/templates/messages/message.html index d235813..9fec43d 100644 --- a/hyperkitty/templates/messages/message.html +++ b/hyperkitty/templates/messages/message.html @@ -16,7 +16,7 @@ {{email|viewer_date|date:"H:i:s"}}
- {% gravatar_img_for_email email.sender_email 40 %} + {% gravatar email.sender_email 40 %}
{{email.sender_name|escapeemail}} diff --git a/hyperkitty/templates/month_view.html b/hyperkitty/templates/month_view.html index e53bab6..511866c 100644 --- a/hyperkitty/templates/month_view.html +++ b/hyperkitty/templates/month_view.html @@ -49,7 +49,7 @@ {% endif %}
{% if thread.starting_email.sender_email %} - {% gravatar_img_for_email thread.starting_email.sender_email 40 %} + {% gravatar thread.starting_email.sender_email 40 %}
{% endif %} {{ thread.starting_email.sender_name|escapeemail }} diff --git a/hyperkitty/templates/recent_activities.html b/hyperkitty/templates/recent_activities.html index 242d38a..dd9d4bc 100644 --- a/hyperkitty/templates/recent_activities.html +++ b/hyperkitty/templates/recent_activities.html @@ -167,7 +167,7 @@
{% if author.email %} - {% gravatar_img_for_email author.email 40 %} + {% gravatar author.email 40 %}
{% endif %}
diff --git a/hyperkitty/templates/search.html b/hyperkitty/templates/search.html index 303b9a5..18d2710 100644 --- a/hyperkitty/templates/search.html +++ b/hyperkitty/templates/search.html @@ -30,7 +30,7 @@ {% endif %}
{% if email.sender_email %} - {% gravatar_img_for_email email.sender_email 40 %} + {% gravatar email.sender_email 40 %}
{% endif %} {{email.sender_name}} diff --git a/hyperkitty/templates/threads/right_col.html b/hyperkitty/templates/threads/right_col.html index 11ff90a..dcf00e7 100644 --- a/hyperkitty/templates/threads/right_col.html +++ b/hyperkitty/templates/threads/right_col.html @@ -52,7 +52,7 @@
    {% for name, email in participants.items|sort %}
  • - {% gravatar_img_for_email email 20 %} + {% gravatar email 20 %} {{ name|escapeemail }}
  • {% endfor %} -- cgit