Sort report by project name.

Change-Id: I90b4a17b1bd9f0eacd19c53939501ef9e00ce197
This commit is contained in:
Dan Prince 2013-10-18 10:46:46 -04:00
parent 5d41aa1fd7
commit 94eebe7720
2 changed files with 6 additions and 1 deletions

View File

@ -1,6 +1,10 @@
# Helper functions to help generate the HTML report
def sort(list):
return sorted(list)
def config_template_name(config_template_id, config_templates):
if config_template_id in config_templates:
return config_templates[config_template_id]

View File

@ -27,7 +27,8 @@
</div>
<div class="yui-d0">
#for $project, $mergeprops in $projects.iteritems():
#for $project in $helper.sort($projects.keys()):
#set $mergeprops = $projects[$project]
<a name="$project"></a>
<div class="flowed-block wide">