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

Andreas Tille tille at debian.org
Mon Jul 15 12:22:08 UTC 2013


The following commit has been merged in the master branch:
commit ee21046980b7598b477ad47403d98cdccdf1a01c
Author: Andreas Tille <tille at debian.org>
Date:   Mon Jul 15 14:25:23 2013 +0200

    Add legend items for upstream column

diff --git a/webtools/templates/thermometer.xhtml b/webtools/templates/thermometer.xhtml
index 3c09e6f..83a1ef3 100644
--- a/webtools/templates/thermometer.xhtml
+++ b/webtools/templates/thermometer.xhtml
@@ -50,7 +50,7 @@
       <div class="row">
         <table class='pkg'>
           <py:for each="leg in legend">
-            <tr class='${leg[0]}'><td>${leg[1]}</td></tr>
+            <tr class='${leg[0]}'><td class='${leg[0]}'>${leg[1]}</td></tr>
           </py:for>
         </table>
       </div>
diff --git a/webtools/templates/uthermometer.xhtml b/webtools/templates/uthermometer.xhtml
index 84d5ce7..24864fa 100644
--- a/webtools/templates/uthermometer.xhtml
+++ b/webtools/templates/uthermometer.xhtml
@@ -50,7 +50,7 @@
       <div class="row">
         <table class='pkg'>
           <py:for each="leg in legend">
-            <tr class='${leg[0]}'><td>${leg[1]}</td></tr>
+            <tr class='${leg[0]}'><td class='${leg[0]}'>${leg[1]}</td></tr>
           </py:for>
         </table>
       </div>
diff --git a/webtools/thermometer.py b/webtools/thermometer.py
index 8830462..ccbeb20 100755
--- a/webtools/thermometer.py
+++ b/webtools/thermometer.py
@@ -321,7 +321,10 @@ def main():
                ['debianOutOfDate', 'Debian stable behind unstable'],
                ['ubuntuOutOfDate', 'Ubuntu behind Debian unstable'],
                ['unpackaged',      'Not packaged'],
-               ['obsolete',        'Obsolete']
+               ['obsolete',        'Obsolete'],
+               ['newer-in-debian', 'Upstream behind unstable'],
+               ['uptodate',        'Unstable fits upstream'],
+               ['outdated',        'Unstable behind upstream'],
              ]
     data['legend']     = legend
     data['summary']           = to_unicode(_('Summary'))

-- 
Static and dynamic websites for Debian Pure Blends



More information about the Blends-commit mailing list