summaryrefslogtreecommitdiffstats
path: root/hyperkitty/templates/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'hyperkitty/templates/index.html')
-rw-r--r--hyperkitty/templates/index.html12
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 %}