diff options
author | Aurélien Bompard <aurelien@bompard.org> | 2012-10-10 19:23:17 +0200 |
---|---|---|
committer | Aurélien Bompard <aurelien@bompard.org> | 2012-10-10 19:23:17 +0200 |
commit | cdbd62dd4ed95ed90f3a3c702aabb3e36432dab0 (patch) | |
tree | 2241abc11abb3083bf06058beca8897c69b012ae | |
parent | ac497191016711fe04065bf13286ba82ee825e0a (diff) | |
download | hyperkitty-cdbd62dd4ed95ed90f3a3c702aabb3e36432dab0.tar.gz hyperkitty-cdbd62dd4ed95ed90f3a3c702aabb3e36432dab0.tar.xz hyperkitty-cdbd62dd4ed95ed90f3a3c702aabb3e36432dab0.zip |
Fix a small bug when testing the displayed date
-rw-r--r-- | hyperkitty/templates/threads/month_list.html | 2 |
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> |