# HG changeset patch # User Thomas De Schampheleire # Date 1425418426 -3600 # Node ID 27d214c87144363d59e90942d9acb05798b13a3c # Parent 780c1aab1357dcf8085af204db17aacb9e5a505a pullrequest overview: show age rather than date Since pullrequests are supposed to be short-lived, the age is more relevant than the actual date (which is still shown in a tooltip). diff -r 780c1aab1357 -r 27d214c87144 kallithea/templates/pullrequests/pullrequest_data.html --- a/kallithea/templates/pullrequests/pullrequest_data.html Tue Mar 03 21:48:53 2015 +0100 +++ b/kallithea/templates/pullrequests/pullrequest_data.html Tue Mar 03 22:33:46 2015 +0100 @@ -14,7 +14,7 @@ ${_('Title')} ${_('Author')} - ${_('Date')} + ${_('Age')} ${_('From')} ${_('To')} @@ -54,7 +54,9 @@ ${pr.author.username_and_name} - ${h.fmt_date(pr.created_on)} + + ${h.age(pr.created_on)} + <% org_ref_name=pr.org_ref.rsplit(':', 2)[-2] %>