summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--templates/base_thread.html2
-rw-r--r--templates/message.html6
-rw-r--r--templates/month_view.html24
-rw-r--r--templates/recent_activities.html32
4 files changed, 32 insertions, 32 deletions
diff --git a/templates/base_thread.html b/templates/base_thread.html
index 35b6be8..fb223e6 100644
--- a/templates/base_thread.html
+++ b/templates/base_thread.html
@@ -60,7 +60,7 @@
<a href="/tag/question"> question </a>
</span>
<br />
- {{first_mail.email.Subject}}
+ {{first_mail.email.subject}}
<ul class="inline thread_info">
<li class="participant"> {{participants|length}} participants</li>
<li class="discussion"> {{answers}} comments</li>
diff --git a/templates/message.html b/templates/message.html
index 5e41326..73e1569 100644
--- a/templates/message.html
+++ b/templates/message.html
@@ -20,18 +20,18 @@
<div class="email_header">
{% gravatar_img_for_email message.Email 40 %}
<div class="email_author inline-block">
- <span class="name">{{message.From}}</span>
+ <span class="name">{{message.sender}}</span>
<br />
<span class="rank">Rank 10</span>
</div>
<div class="email_date inline-block right">
- <span class="date">{{message.Date}}</span>
+ <span class="date">{{message.date}}</span>
<br />
<span class="time"></span>
</div>
</div>
<div id="first_email_body">
- {{message.Content}}
+ {{message.content}}
</div>
<ul class="email_info inline">
<li class="neutral"> 0</li>
diff --git a/templates/month_view.html b/templates/month_view.html
index a498467..731b9ca 100644
--- a/templates/month_view.html
+++ b/templates/month_view.html
@@ -25,32 +25,32 @@
<div class="thread">
<div class="notsaved">
<span class="thread_title">
- <a name="{{email.ThreadID}}"
- href="/thread/{{list_address}}/{{email.ThreadID}}">
- {{email.Subject}}
+ <a name="{{email.thread_id}}"
+ href="/thread/{{list_address}}/{{email.thread_id}}">
+ {{email.subject}}
</a>
</span>
- <span class="thread_date"> {{email.Date}}</span>
+ <span class="thread_date"> {{email.date}}</span>
</div>
<div class="thread_content">
{% if email.category_tag %}
<div class="inline-block type type_{{email.category_tag}}">
- <a href="/tag/{{list_address}}/{{email.category_tag}}"> {{email.Category}} </a>
+ <a href="/tag/{{list_address}}/{{email.category_tag}}"> {{email.category}} </a>
</div>
{% else %}
- <div class="inline-block type type_{{email.Category|lower}}">
- <a href="/tag/{{list_address}}/{{email.Category|lower}}"> {{email.Category}} </a>
+ <div class="inline-block type type_{{email.category|lower}}">
+ <a href="/tag/{{list_address}}/{{email.category|lower}}"> {{email.category}} </a>
</div>
{% endif %}
<div class="inline-block gravatar">
- {% if email.Email %}
- {% gravatar_img_for_email email.Email 40 %} <br />
+ {% if email.email %}
+ {% gravatar_img_for_email email.email 40 %} <br />
{% endif %}
- {{email.From}}
+ {{email.sender}}
</div>
<div class="inline-block thread_email">
<span class="expander">
- {{email.Content}}
+ {{email.content}}
</span>
</div>
</div>
@@ -62,7 +62,7 @@
{% endfor %}
</ul>
<ul class="inline-block">
- <li class="participant"> {{email.participants}} participants</li>
+ <li class="participant"> {{email.participants|length}} participants</li>
<li class="discussion"> {{email.answers}} comments</li>
</ul>
<ul class="inline-block">
diff --git a/templates/recent_activities.html b/templates/recent_activities.html
index 63e00e5..bc3ea56 100644
--- a/templates/recent_activities.html
+++ b/templates/recent_activities.html
@@ -90,9 +90,9 @@ vis.render();
<div class="thread">
<span class="thread_id">#{{forloop.counter}}</span>
<span class="thread_title">
- <a name="{{email.ThreadID}}"
- href="/thread/{{list_address}}/{{email.ThreadID}}">
- {{email.Subject}}
+ <a name="{{email.thread_id}}"
+ href="/thread/{{list_address}}/{{email.thread_id}}">
+ {{email.subject}}
</a>
</span>
<div class="thread_stats">
@@ -100,18 +100,18 @@ vis.render();
{% if email.category_tag %}
<li class="type type_{{email.category_tag}}">
<a href="/tag/{{list_address}}/{{email.category_tag}}">
- {{email.Category}}
+ {{email.category}}
</a>
</li>
{% else %}
- <li class="type type_{{email.Category|lower}}">
- <a href="/tag/{{list_address}}/{{email.Category|lower}}">
- {{email.Category}}
+ <li class="type type_{{email.category|lower}}">
+ <a href="/tag/{{list_address}}/{{email.category|lower}}">
+ {{email.category}}
</a>
</li>
{% endif %}
<li class="neutral"> 0 </li>
- <li class="participant"> {{email.participants}} </li>
+ <li class="participant"> {{email.participants|length}} </li>
<li class="discussion"> {{email.answers}} </li>
</ul>
</div>
@@ -130,7 +130,7 @@ vis.render();
<span class="thread_title">
<a name="{{email.ThreadID}}"
href="/thread/{{list_address}}/{{email.ThreadID}}">
- {{email.Subject}}
+ {{email.subject}}
</a>
</span>
<div class="thread_stats">
@@ -138,18 +138,18 @@ vis.render();
{% if email.category_tag %}
<li class="type type_{{email.category_tag}}">
<a href="/tag/{{list_address}}/{{email.category_tag}}">
- {{email.Category}}
+ {{email.category}}
</a>
</li>
{% else %}
- <li class="type type_{{email.Category|lower}}">
- <a href="/tag/{{list_address}}/{{email.Category|lower}}">
- {{email.Category}}
+ <li class="type type_{{email.category|lower}}">
+ <a href="/tag/{{list_address}}/{{email.category|lower}}">
+ {{email.category}}
</a>
</li>
{% endif %}
<li class="neutral"> 0 </li>
- <li class="participant"> {{email.participants}} </li>
+ <li class="participant"> {{email.participants|length}} </li>
<li class="discussion"> {{email.answers}} </li>
</ul>
</div>
@@ -165,8 +165,8 @@ vis.render();
<div class="maker">
<div class="inline-block maker_id"> #{{forloop.counter}} </div>
<div class="inline-block gravatar">
- {% if author.Email %}
- {% gravatar_img_for_email author.Email 40 %} <br />
+ {% if author.email %}
+ {% gravatar_img_for_email author.email 40 %} <br />
{% endif %}
</div>
<div class="inline-block">