[Blends-commit] [SCM] website branch, master, updated. 913151b3df48ea9ea30e450d17037e1809504d62
Andreas Tille
tille at debian.org
Thu Aug 1 13:34:54 UTC 2013
The following commit has been merged in the master branch:
commit 913151b3df48ea9ea30e450d17037e1809504d62
Author: Andreas Tille <tille at debian.org>
Date: Thu Aug 1 15:38:22 2013 +0200
Sort tasks alphabethically
diff --git a/webtools/templates/bugs_idx_udd.xhtml b/webtools/templates/bugs_idx_udd.xhtml
index 3b13fe6..3dd5e36 100644
--- a/webtools/templates/bugs_idx_udd.xhtml
+++ b/webtools/templates/bugs_idx_udd.xhtml
@@ -48,7 +48,7 @@
<h1>$gtstrBugsPage</h1>
<p>$gtstrListOfBugspages</p>
<dl>
- <py:for each="task in bugs_data.keys()">
+ <py:for each="task in sorted(bugs_data.iterkeys())">
<dt class="${bugs_data[task]['weightedclass']}"><a href="${task}.html" name="${task}" id="${task}">${task.capitalize()} - ${bugs_data[task]['description']}</a> (${bugs_data[task]['weighttask']}<sup>*</sup>)</dt>
<dd>${bugs_data[task]['long_description']}</dd>
</py:for>
diff --git a/webtools/templates/bugs_udd.xhtml b/webtools/templates/bugs_udd.xhtml
index b0930c8..eb29c94 100644
--- a/webtools/templates/bugs_udd.xhtml
+++ b/webtools/templates/bugs_udd.xhtml
@@ -48,7 +48,7 @@
<div class="sectionTop"/>
<div class="row">
<div class="link"><a href="index.html">${bugslink}</a></div>
- <py:for each="t in bugs_data.keys()">
+ <py:for each="t in sorted(bugs_data.iterkeys())">
<div py:choose="t">
<span py:when="task"
class="curlink"><a href="${t}.html">${t.capitalize()}</a> ${bugs_data[t]['nopenbugs']} (${bugs_data[t]['weighttask']})</span>
--
Static and dynamic websites for Debian Pure Blends
More information about the Blends-commit
mailing list