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

Andreas Tille tille at debian.org
Tue Jan 26 14:28:43 UTC 2016


The following commit has been merged in the master branch:
commit d7870b1275bccf3aaabe6fd5a2b5ec345699a833
Author: Andreas Tille <tille at debian.org>
Date:   Tue Jan 26 15:27:40 2016 +0100

    Also sorting enhancing packages in old code but here we need to do the sorting in template - inside blendstasktools.py does not work

diff --git a/webtools/templates/tasks.xhtml b/webtools/templates/tasks.xhtml
index 35d2794..66f9e8a 100644
--- a/webtools/templates/tasks.xhtml
+++ b/webtools/templates/tasks.xhtml
@@ -159,7 +159,7 @@
 	           <span py:otherwise="">${project.desc['en']['long']}</span>
 	         </span>
 	     <div class="enhanced-by" py:if="project.properties['Enhances'] != {}">
-	       The package is enhanced by the following packages: <py:for each="enh in project.properties['Enhances'].keys()">
+	       The package is enhanced by the following packages: <py:for each="enh in sorted(project.properties['Enhances'].keys())">
 		 <a href="${project.properties['Enhances'][enh]}">${enh}</a>
 	       </py:for>
 	     </div>

-- 
Static and dynamic websites for Debian Pure Blends



More information about the Blends-commit mailing list