projects
/
invirt/packages/invirt-web.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74cf12c
)
Sort hvm/paravm list alphabetically.
author
Eric Price
<ecprice@mit.edu>
Tue, 22 Apr 2008 01:22:55 +0000
(21:22 -0400)
committer
Eric Price
<ecprice@mit.edu>
Tue, 22 Apr 2008 01:22:55 +0000
(21:22 -0400)
svn path=/trunk/packages/sipb-xen-www/; revision=441
code/templates/functions.tmpl
patch
|
blob
|
history
diff --git
a/code/templates/functions.tmpl
b/code/templates/functions.tmpl
index
c3aa050
..
a746145
100644
(file)
--- a/
code/templates/functions.tmpl
+++ b/
code/templates/functions.tmpl
@@
-14,7
+14,7
@@
#end def
#def vmTypeList($default=None)
-#for $vmtype in $sipb_xen_database.Type.select()
+#for $vmtype in sorted($sipb_xen_database.Type.select(), key=lambda x: x.description)
<label>
<input #slurp
#if $default == $vmtype then 'checked' else ''