summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPierre-Yves Chibon <pingou@pingoured.fr>2012-03-18 11:04:23 +0100
committerPierre-Yves Chibon <pingou@pingoured.fr>2012-03-18 11:04:23 +0100
commitdb2829da275f6984d8ac6b2c48f9bf04a34c91fc (patch)
tree1fbd51311b732467f3de177feec8c4a90a8db45f
parent089f72b237ea4cd8711e6ded643f43687fd39490 (diff)
downloadhyperkitty-db2829da275f6984d8ac6b2c48f9bf04a34c91fc.tar.gz
hyperkitty-db2829da275f6984d8ac6b2c48f9bf04a34c91fc.tar.xz
hyperkitty-db2829da275f6984d8ac6b2c48f9bf04a34c91fc.zip
Fix the categories
-rw-r--r--templates/month_view2.html6
-rw-r--r--templates/recent_activities.html10
2 files changed, 8 insertions, 8 deletions
diff --git a/templates/month_view2.html b/templates/month_view2.html
index b763a4d..e9d5b32 100644
--- a/templates/month_view2.html
+++ b/templates/month_view2.html
@@ -29,11 +29,11 @@
<div class="thread_content">
{% if email.category_tag %}
<div class="inline-block type type_{{email.category_tag}}">
- <a href="/2/tag/{{list_address}}/{{email.category_tag}}"> {{email.category}} </a>
+ <a href="/2/tag/{{list_address}}/{{email.category_tag}}"> {{email.Category}} </a>
</div>
{% else %}
- <div class="inline-block type type_{{email.category}}">
- <a href="/2/tag/{{list_address}}/{{email.category}}"> {{email.category}} </a>
+ <div class="inline-block type type_{{email.Category|lower}}">
+ <a href="/2/tag/{{list_address}}/{{email.Category|lower}}"> {{email.Category}} </a>
</div>
{% endif %}
<div class="inline-block gravatar">
diff --git a/templates/recent_activities.html b/templates/recent_activities.html
index 52a3968..eb1041d 100644
--- a/templates/recent_activities.html
+++ b/templates/recent_activities.html
@@ -30,11 +30,11 @@ $(function() {
<ul class="inline-block">
{% if email.category_tag %}
<li class="type type_{{email.category_tag}}">
- <a href="/tag/{{email.category_tag}}"> {{email.category}} </a>
+ <a href="/tag/{{email.category_tag}}"> {{email.Category}} </a>
</li>
{% else %}
- <li class="type type_{{email.category}}">
- <a href="/tag/{{email.category}}"> {{email.category}} </a>
+ <li class="type type_{{email.Category|lower}}">
+ <a href="/tag/{{email.Category|lower}}"> {{email.Category}} </a>
</li>
{% endif %}
<li class="neutral"> 0 </li>
@@ -62,8 +62,8 @@ $(function() {
<a href="/tag/{{email.category_tag}}"> {{email.category}} </a>
</li>
{% else %}
- <li class="type type_{{email.category}}">
- <a href="/tag/{{email.category_tag}}"> {{email.category}} </a>
+ <li class="type type_{{email.Category|lower}}">
+ <a href="/tag/{{email.Category|lower}}"> {{email.Category}} </a>
</li>
{% endif %}
<li class="neutral"> 0 </li>