diff options
author | Aurélien Bompard <aurelien@bompard.org> | 2013-11-15 14:32:18 +0100 |
---|---|---|
committer | Aurélien Bompard <aurelien@bompard.org> | 2013-11-20 19:15:40 +0100 |
commit | 5c0e4e11dad001952f7fe745b22e1cf63fbc50fd (patch) | |
tree | 96b736ad577736dca132063560819e25bb4d1c9e /hyperkitty/templates/index.html | |
parent | 0fb1bdee16eed1a29eef873dce0db0dc92007c3a (diff) | |
download | hyperkitty-5c0e4e11dad001952f7fe745b22e1cf63fbc50fd.tar.gz hyperkitty-5c0e4e11dad001952f7fe745b22e1cf63fbc50fd.tar.xz hyperkitty-5c0e4e11dad001952f7fe745b22e1cf63fbc50fd.zip |
Call out new lists
Diffstat (limited to 'hyperkitty/templates/index.html')
-rw-r--r-- | hyperkitty/templates/index.html | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/hyperkitty/templates/index.html b/hyperkitty/templates/index.html index 357bde6..7e39a58 100644 --- a/hyperkitty/templates/index.html +++ b/hyperkitty/templates/index.html @@ -36,6 +36,13 @@ <a href="{% url 'root' %}?sort=popular">{% trans 'Most popular' %}</a> {% endif %} </li> + <li> + {% if sort_mode == "creation" %} + <span class="active">{% trans 'Newest' %}</span> + {% else %} + <a href="{% url 'root' %}?sort=creation">{% trans 'Newest' %}</a> + {% endif %} + </li> </ul> </div> @@ -47,6 +54,8 @@ <small>({% trans 'most active first' %})</small> {% elif sort_mode == 'popular' %} <small>({% trans 'most popular first' %})</small> + {% elif sort_mode == 'creation' %} + <small>({% trans 'newest first' %})</small> {% endif %} </h1> @@ -69,6 +78,9 @@ {% endif %} "> <td> + {% if mlist.is_new %} + <span class="new label">{% trans 'new' %}</span> + {% endif %} <a href="{% url 'list_overview' mlist_fqdn=mlist.name %}" class="list-name"> {% if mlist.display_name %} |