diff options
author | Aurélien Bompard <aurelien@bompard.org> | 2012-10-10 19:12:07 +0200 |
---|---|---|
committer | Aurélien Bompard <aurelien@bompard.org> | 2012-10-10 19:12:07 +0200 |
commit | fbfe8fc7ea6ba91661027ea51dec290823f9e0bb (patch) | |
tree | 0000af97b2ca88ee0b92f5ac666a9a91682f0e7e /hyperkitty/templates/threads | |
parent | 7558ef3a1e4f2625075d8a34b25224f7e595c939 (diff) | |
download | hyperkitty-fbfe8fc7ea6ba91661027ea51dec290823f9e0bb.tar.gz hyperkitty-fbfe8fc7ea6ba91661027ea51dec290823f9e0bb.tar.xz hyperkitty-fbfe8fc7ea6ba91661027ea51dec290823f9e0bb.zip |
Improve styling in headers and thread view
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> |