diff options
Diffstat (limited to 'hyperkitty/templates/threads')
-rw-r--r-- | hyperkitty/templates/threads/month_list.html | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/hyperkitty/templates/threads/month_list.html b/hyperkitty/templates/threads/month_list.html new file mode 100644 index 0000000..b3918f8 --- /dev/null +++ b/hyperkitty/templates/threads/month_list.html @@ -0,0 +1,17 @@ +{% load hk_generic %} + +<div id="archives"> + {% for year, months in archives_length|sort %} + <h3>{{ year }}</h3> + <div> + <ul> + {% for ar_month in months %} + <li class="{% if 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> + {% endfor %} + </ul> + </div> + {% endfor %} +</div> |