[Blends-commit] [SCM] website branch, master, updated. 39a123deaf4c24660ebda81724deadc29e569107

Bas Couwenberg sebastic at xs4all.nl
Fri Oct 18 15:14:24 UTC 2013


The following commit has been merged in the master branch:
commit 39a123deaf4c24660ebda81724deadc29e569107
Author: Bas Couwenberg <sebastic at xs4sall.nl>
Date:   Fri Oct 18 17:12:59 2013 +0200

    Don't include Debian NEW queue in Ubuntu thermometer.

diff --git a/webtools/templates/uthermometer.xhtml b/webtools/templates/uthermometer.xhtml
index 24864fa..f0519e9 100644
--- a/webtools/templates/uthermometer.xhtml
+++ b/webtools/templates/uthermometer.xhtml
@@ -49,7 +49,7 @@
       <div class="sectionTop"/>
       <div class="row">
         <table class='pkg'>
-          <py:for each="leg in legend">
+          <py:for each="leg in ulegend">
             <tr class='${leg[0]}'><td class='${leg[0]}'>${leg[1]}</td></tr>
           </py:for>
         </table>
diff --git a/webtools/thermometer.py b/webtools/thermometer.py
index 2173a52..b114517 100755
--- a/webtools/thermometer.py
+++ b/webtools/thermometer.py
@@ -359,7 +359,12 @@ def main():
                ['uptodate',        'Unstable fits upstream'],
                ['outdated',        'Unstable behind upstream'],
              ]
-    data['legend']     = legend
+
+    ulegend = legend[:]
+    ulegend.remove(['new', 'Waiting in NEW'])
+
+    data['legend']            = legend
+    data['ulegend']           = ulegend
     data['summary']           = to_unicode(_('Summary'))
     data['idxsummary']        = to_unicode(_("""A %sDebian Pure Blend%s is a Debian internal project which assembles
 a set of packages that might help users to solve certain tasks of their work.  The list on

-- 
Static and dynamic websites for Debian Pure Blends



More information about the Blends-commit mailing list