From 573d2deb712c5f8d865d3dca1eeb4dc24e28a7ad Mon Sep 17 00:00:00 2001 From: Mariano Lopez Date: Wed, 8 Apr 2015 14:59:07 -0500 Subject: [PATCH] templates/rrs/maintainers.html: Added total row at the end of the table. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Added footer for the table and function updateTotals. Added class and/or id attributes to some existing html tags. Didn't modified existing class or id attributes for existing html tags. Signed-off-by: Mariano Lopez Signed-off-by: Aníbal Limón --- templates/rrs/maintainers.html | 65 ++++++++++++++++++++++++++++++---- 1 file changed, 58 insertions(+), 7 deletions(-) diff --git a/templates/rrs/maintainers.html b/templates/rrs/maintainers.html index a3180ff..b4ef50b 100644 --- a/templates/rrs/maintainers.html +++ b/templates/rrs/maintainers.html @@ -39,7 +39,7 @@ - + @@ -59,34 +59,34 @@ {% endfor %} - + {% for ml in maintainer_list %} @@ -103,6 +103,26 @@ {% endfor %} + + + + + + + + + + {% for i in intervals %} + {% if current_interval == forloop.counter0 %} + + {% endfor %} + +
Maintainer Assigned recipes Up-to-date
{{ ml.name }} - + {{ ml.recipes_all }} - + {{ ml.recipes_up_to_date }} - + {{ ml.recipes_not_updated }} - + {{ ml.recipes_cant_be_updated }} - + {{ ml.recipes_unknown }}
Total + {% else %} + + {% endif %} + {{ i }} +