summaryrefslogtreecommitdiffstats
path: root/hyperkitty/templates
diff options
context:
space:
mode:
authorAurélien Bompard <aurelien@bompard.org>2012-12-06 10:51:22 +0100
committerAurélien Bompard <aurelien@bompard.org>2012-12-06 10:51:22 +0100
commite255c7223ffc9f00f3c85bb573381cf20fcd40a6 (patch)
treeb21ba1850bc2e1553dafa742f1938bdb54f2defa /hyperkitty/templates
parent8486805b982b49c1a12f28945ec7346a605d0f5b (diff)
downloadhyperkitty-e255c7223ffc9f00f3c85bb573381cf20fcd40a6.tar.gz
hyperkitty-e255c7223ffc9f00f3c85bb573381cf20fcd40a6.tar.xz
hyperkitty-e255c7223ffc9f00f3c85bb573381cf20fcd40a6.zip
Use django-gravatar2, the other one is unmaintained and buggy
Diffstat (limited to 'hyperkitty/templates')
-rw-r--r--hyperkitty/templates/messages/message.html2
-rw-r--r--hyperkitty/templates/month_view.html2
-rw-r--r--hyperkitty/templates/recent_activities.html2
-rw-r--r--hyperkitty/templates/search.html2
-rw-r--r--hyperkitty/templates/threads/right_col.html2
5 files changed, 5 insertions, 5 deletions
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 @@
<span class="time" title="Sender's time: {{email|sender_date|date:"l, j F H:i:s"}}">{{email|viewer_date|date:"H:i:s"}}</span>
</div>
<div class="gravatar{% if use_mockups %} pull-left{% endif %}">
- {% gravatar_img_for_email email.sender_email 40 %}
+ {% gravatar email.sender_email 40 %}
</div>
<div class="email_author inline-block">
<span class="name"><a href="{% url message_index mlist_fqdn=list_address, hashid=email.message_id_hash %}">{{email.sender_name|escapeemail}}</a></span>
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 %}
<div class="inline-block gravatar">
{% if thread.starting_email.sender_email %}
- {% gravatar_img_for_email thread.starting_email.sender_email 40 %}
+ {% gravatar thread.starting_email.sender_email 40 %}
<br />
{% 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 @@
</div>
<div class="inline-block gravatar">
{% if author.email %}
- {% gravatar_img_for_email author.email 40 %}
+ {% gravatar author.email 40 %}
<br />
{% endif %}
</div>
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 %}
<div class="inline-block gravatar">
{% if email.sender_email %}
- {% gravatar_img_for_email email.sender_email 40 %}
+ {% gravatar email.sender_email 40 %}
<br />
{% 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 @@
<ul>
{% for name, email in participants.items|sort %}
<li>
- {% gravatar_img_for_email email 20 %}
+ {% gravatar email 20 %}
{{ name|escapeemail }}
</li>
{% endfor %}