Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 293CBE00A54; Thu, 9 Jul 2015 13:33:44 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high * trust * [134.134.136.20 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id EB8C9E009D7 for ; Thu, 9 Jul 2015 13:33:42 -0700 (PDT) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga101.jf.intel.com with ESMTP; 09 Jul 2015 13:33:42 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.15,442,1432623600"; d="scan'208";a="761497494" Received: from mlopezva-mobl2.zpn.intel.com ([10.219.24.79]) by orsmga002.jf.intel.com with ESMTP; 09 Jul 2015 13:33:42 -0700 From: mariano.lopez@linux.intel.com To: yocto@yoctoproject.org Date: Thu, 9 Jul 2015 15:33:34 -0500 Message-Id: <1436474014-12101-3-git-send-email-mariano.lopez@linux.intel.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1436474014-12101-1-git-send-email-mariano.lopez@linux.intel.com> References: <1436474014-12101-1-git-send-email-mariano.lopez@linux.intel.com> Subject: [rrs][PATCH 2/2] recipes.html: Add Last Updated column X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Jul 2015 20:33:44 -0000 From: Mariano Lopez 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 --- 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 }} -- 1.9.1