Ignore:
Timestamp:
Aug 9, 2009, 6:45:36 PM (15 years ago)
Author:
quentin
Message:

Remove calls to helppopup from outside templates

Location:
package_branches/invirt-web/cherrypy/code
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • package_branches/invirt-web/cherrypy/code/main.py

    r2411 r2412  
    300300                has_vnc[m] = "WTF?"
    301301            else:
    302                 has_vnc[m] = "ParaVM"+helppopup("ParaVM Console")
     302                has_vnc[m] = "ParaVM"
    303303    max_memory = validation.maxMemory(username, state)
    304304    max_disk = validation.maxDisk(username)
     
    557557                      'DISK_INFO',
    558558                      ('state', 'state (xen format)'),
    559                       ('cpu_weight', 'CPU weight'+helppopup('CPU Weight')),
    560559                      ]
    561560    fields = []
     
    611610             max_mem=max_mem,
    612611             max_disk=max_disk,
    613              owner_help=helppopup("Owner"),
    614612             fields = fields)
    615613    return d
  • package_branches/invirt-web/cherrypy/code/templates/list.mako

    r2405 r2412  
    113113% if has_vnc[machine] == True:
    114114<a href="vnc?machine_id=${machine.machine_id}">Console</a>\
     115% elif has_vnc[machine] == 'ParaVM':
     116ParaVM${self.fn.helppopup("ParaVM Console")}
    115117% elif has_vnc[machine] != 'Off':
    116118${has_vnc[machine]}
Note: See TracChangeset for help on using the changeset viewer.