summaryrefslogtreecommitdiffstats
path: root/templates/thread.html
diff options
context:
space:
mode:
authorPierre-Yves Chibon <pingou@pingoured.fr>2012-04-23 18:37:55 +0200
committerPierre-Yves Chibon <pingou@pingoured.fr>2012-04-23 18:37:55 +0200
commit17e7a8babf93feb65327db8898b2494c6b490d08 (patch)
tree21979e91fca6951684a7ee53115b1e5ae21ad69c /templates/thread.html
parent44a94a8301ad5c77d89f9521da7016bb58aee488 (diff)
downloadhyperkitty-17e7a8babf93feb65327db8898b2494c6b490d08.tar.gz
hyperkitty-17e7a8babf93feb65327db8898b2494c6b490d08.tar.xz
hyperkitty-17e7a8babf93feb65327db8898b2494c6b490d08.zip
Add integration with gravatar in the template and adjust documentation
Diffstat (limited to 'templates/thread.html')
-rw-r--r--templates/thread.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/templates/thread.html b/templates/thread.html
index d6cda67..73685fc 100644
--- a/templates/thread.html
+++ b/templates/thread.html
@@ -1,4 +1,5 @@
{% extends "base_thread.html" %}
+{% load gravatar %}
{% block title %}{{ app_name }}{% endblock %}
@@ -72,7 +73,7 @@
<!-- Start first email -->
<div class="first_email">
<div class="email_header">
- <img src="http://planet.fedoraproject.org/images/heads/default.png" alt="avatar" />
+ {% gravatar_img_for_email first_mail.email.Email 40 %}
<div class="email_author inline-block">
<span class="name">
<a href="/message/{{list_address}}/{{first_mail.email.MessageID}}">{{first_mail.email.From}}</a>
@@ -104,7 +105,7 @@
<!-- Start email -->
<div class="email" style="padding-left: {{email.level}}em">
<div class="email_header">
- <img src="http://planet.fedoraproject.org/images/heads/default.png" alt="avatar" />
+ {% gravatar_img_for_email email.email.Email 40 %}
<div class="email_author inline-block">
<a href="/message/{{list_address}}/{{email.email.MessageID}}">{{email.email.From}}</a>
<br />