summaryrefslogtreecommitdiffstats
path: root/hyperkitty/templates
diff options
context:
space:
mode:
authorAurélien Bompard <aurelien@bompard.org>2012-10-10 19:23:17 +0200
committerAurélien Bompard <aurelien@bompard.org>2012-10-10 19:23:17 +0200
commitcdbd62dd4ed95ed90f3a3c702aabb3e36432dab0 (patch)
tree2241abc11abb3083bf06058beca8897c69b012ae /hyperkitty/templates
parentac497191016711fe04065bf13286ba82ee825e0a (diff)
downloadhyperkitty-cdbd62dd4ed95ed90f3a3c702aabb3e36432dab0.tar.gz
hyperkitty-cdbd62dd4ed95ed90f3a3c702aabb3e36432dab0.tar.xz
hyperkitty-cdbd62dd4ed95ed90f3a3c702aabb3e36432dab0.zip
Fix a small bug when testing the displayed date
Diffstat (limited to 'hyperkitty/templates')
-rw-r--r--hyperkitty/templates/threads/month_list.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/hyperkitty/templates/threads/month_list.html b/hyperkitty/templates/threads/month_list.html
index b3918f8..d642567 100644
--- a/hyperkitty/templates/threads/month_list.html
+++ b/hyperkitty/templates/threads/month_list.html
@@ -6,7 +6,7 @@
<div>
<ul>
{% for ar_month in months %}
- <li class="{% if ar_month == month.month %}current{% endif %}">
+ <li class="{% if year == month.year and ar_month == month.month %}current{% endif %}">
<a href="{% url archives_with_month year=year, mlist_fqdn=list_address, month=ar_month %}"
>{{ ar_month|monthtodate:year|date:"F" }}</a>
</li>