From d5901a1fcc8b79f9a23bd3888ef2f281f07b9459 Mon Sep 17 00:00:00 2001 From: "Justin J. Novack" Date: Sun, 30 Sep 2012 17:43:58 -0400 Subject: Use commit timestamps for ElasticSearch and sort on last commit time. --- data/templates/list.htm | 11 +++++++++++ data/templates/new.htm | 2 +- data/templates/repo-sidebar-list.htm | 2 +- 3 files changed, 13 insertions(+), 2 deletions(-) (limited to 'data') diff --git a/data/templates/list.htm b/data/templates/list.htm index d0732ea..aee3100 100644 --- a/data/templates/list.htm +++ b/data/templates/list.htm @@ -11,3 +11,14 @@ {% include 'pager.htm' %} {% endblock %} + +{% block sidebar %} + {% if recents.results %} +

Recently updated

+ + {% endif %} +{% endblock %} diff --git a/data/templates/new.htm b/data/templates/new.htm index 7548c2a..0f69719 100644 --- a/data/templates/new.htm +++ b/data/templates/new.htm @@ -38,7 +38,7 @@ $(document).ready(function() { {% block sidebar %} {% if recents.results %} -

Recently created

+

Recently updated