From: Justin J. Novack Date: Sun, 30 Sep 2012 21:43:58 +0000 (-0400) Subject: Use commit timestamps for ElasticSearch and sort on last commit time. X-Git-Tag: v0.4.0~125 X-Git-Url: https://git.cweiske.de/phorkie.git/commitdiff_plain/d5901a1fcc8b79f9a23bd3888ef2f281f07b9459?ds=sidebyside Use commit timestamps for ElasticSearch and sort on last commit time. --- 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