From e49c69da2e53c8938f4d58bd478bb68f060e3849 Mon Sep 17 00:00:00 2001 From: Alberto Bertogli Date: Sat, 2 Nov 2013 22:18:33 +0000 Subject: Show the age of a repository in the index, via javascript This patch adds the age of the repository to the index view, using javascript to give a nice human string for the age. When javascript is not available, the element remains hidden. Signed-off-by: Alberto Bertogli --- views/index.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'views') diff --git a/views/index.html b/views/index.html index b218b8b..7967a7c 100644 --- a/views/index.html +++ b/views/index.html @@ -5,9 +5,10 @@ git + - +

git

@@ -20,6 +21,7 @@ + %end
{{repo.name}} {{repo.info.desc}}{{repo.last_commit_timestamp()}}
-- cgit v1.2.3