diff options
| author | Pierre-Yves Chibon <pingou@pingoured.fr> | 2012-03-18 11:04:23 +0100 |
|---|---|---|
| committer | Pierre-Yves Chibon <pingou@pingoured.fr> | 2012-03-18 11:04:23 +0100 |
| commit | db2829da275f6984d8ac6b2c48f9bf04a34c91fc (patch) | |
| tree | 1fbd51311b732467f3de177feec8c4a90a8db45f /templates/recent_activities.html | |
| parent | 089f72b237ea4cd8711e6ded643f43687fd39490 (diff) | |
Fix the categories
Diffstat (limited to 'templates/recent_activities.html')
| -rw-r--r-- | templates/recent_activities.html | 10 |
1 files changed, 5 insertions, 5 deletions
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> |
