From e8a13de121c800fb6f3b4a2ab0ab95043d64d1c2 Mon Sep 17 00:00:00 2001 From: Mariano Lopez Date: Thu, 9 Jul 2015 15:33:34 -0500 Subject: [PATCH] recipes.html: Add Last Updated column MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Added a column in the recipes view that show the last time a recipe was updated when is not up-to-date Signed-off-by: Mariano Lopez Signed-off-by: Aníbal Limón --- templates/rrs/recipes.html | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/templates/rrs/recipes.html b/templates/rrs/recipes.html index ca3c93e..a69ff0f 100644 --- a/templates/rrs/recipes.html +++ b/templates/rrs/recipes.html @@ -76,6 +76,7 @@ Version Upstream version Upstream status + Last Updated Maintainer Summary No update reason @@ -88,16 +89,24 @@ {{ r.version }} {{ r.upstream_version }} {% if r.upstream_status == "Up-to-date" %} - + {% elif r.upstream_status == "Not updated" %} - + {% elif r.upstream_status == "Can't be updated" %} - + {% else %} - + {% endif %} {{ r.upstream_status }} + {% if r.outdated == "Up-to-date" %} + + {% elif r.outdated == "Unknown" %} + + {% else %} + + {% endif %} + {{r.outdated}} {{ r.maintainer_name }} {{ r.summary }} {{ r.no_update_reason }}