Changeset 512


Ignore:
Timestamp:
May 9, 2008, 2:27:43 AM (16 years ago)
Author:
price
Message:

stop showing "Reserved machine name" as an option to users

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/sipb-xen-www/code/templates/functions.tmpl

    r447 r512  
    3434
    3535#def vmTypeList($default=None)
    36 #for $vmtype in sorted($sipb_xen_database.Type.select(), key=lambda x: x.description)
     36#for $vmtype in (('linux-hvm', 'HVM'), ('linux', 'ParaVM'), )
    3737<label>
    3838   <input #slurp
    3939#if $default == $vmtype then 'checked' else ''
    40  type="radio" name="vmtype" value="${vmtype.type_id}">${vmtype.description}</input>
     40 type="radio" name="vmtype" value="${vmtype[0]}">${vmtype[1]}</input>
    4141</label>
    4242#end for
Note: See TracChangeset for help on using the changeset viewer.