From 2ea10c869e10b39b84a817c6a7244c62934753a8 Mon Sep 17 00:00:00 2001
From: Paul Eggleton
Date: Tue, 26 Feb 2013 19:13:34 +0000
Subject: [PATCH] Add last commit date to layer detail
Signed-off-by: Paul Eggleton
---
TODO | 3 ---
layerindex/detail.html | 4 ++++
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/TODO b/TODO
index f3e684c..e2d2d97 100644
--- a/TODO
+++ b/TODO
@@ -9,9 +9,6 @@ TODO:
* Need an admin contact in footer
* Some columns are a bit crushed
* Description is not formatted nicely on detail page
-* Need to show on detail:
- * Last commit date
- * Last update date
* Usage links in list page?
* Style/extend about page
* Style machine list on detail
diff --git a/layerindex/detail.html b/layerindex/detail.html
index 64082c6..bba315f 100644
--- a/layerindex/detail.html
+++ b/layerindex/detail.html
@@ -84,6 +84,10 @@
{% endif %}
+
+ Last commit: {{ layeritem.vcs_last_commit|timesince }} ago
+
+
{% if layeritem.active_maintainers|length = 1 %}Maintainer{% else %}Maintainers{% endif %}