You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by br...@apache.org on 2013/03/26 22:02:41 UTC

[07/22] git commit: [#2835] ticket:287 Display time using ago_string helper

[#2835] ticket:287 Display time using ago_string helper


Project: http://git-wip-us.apache.org/repos/asf/incubator-allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-allura/commit/c3db2686
Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/c3db2686
Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/c3db2686

Branch: refs/heads/master
Commit: c3db26862c3205b8374f0bce7c119657c1c0f720
Parents: 556cfdb
Author: Igor Bondarenko <je...@gmail.com>
Authored: Tue Mar 5 15:47:02 2013 +0000
Committer: Dave Brondsema <db...@geek.net>
Committed: Tue Mar 26 20:57:35 2013 +0000

----------------------------------------------------------------------
 .../allura/templates/widgets/search_results.html   |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/c3db2686/Allura/allura/templates/widgets/search_results.html
----------------------------------------------------------------------
diff --git a/Allura/allura/templates/widgets/search_results.html b/Allura/allura/templates/widgets/search_results.html
index 5e66ccd..92b7cb6 100644
--- a/Allura/allura/templates/widgets/search_results.html
+++ b/Allura/allura/templates/widgets/search_results.html
@@ -42,7 +42,7 @@
     {{ doc.snippet }}
     TODO: change me to something useful! Mark <strong>matches</strong>.<br/>
     an open source implementation of a software "forge", <strong>a web site</strong> that manages source code repositories, bug reports, discussions, mailing lists, wiki pages, blogs and more for any number of individual proje<br>
-    <span class="date">Last updated: {{ doc['mod_date_dt'] }}</span>
+    <span class="date">Last updated: {{ h.ago_string(doc['mod_date_dt']) }}</span>
     </p>
   </div>
 {% endfor %}