Removed order id from cancel vm email templates
This commit is contained in:
parent
a32c8ea467
commit
43e4c021a7
4 changed files with 47 additions and 7 deletions
|
|
@ -891,10 +891,8 @@ class VirtualMachineView(LoginRequiredMixin, View):
|
|||
'Error terminating VM %s' % (opennebula_vm_id)
|
||||
)
|
||||
return HttpResponseRedirect(self.get_success_url())
|
||||
order = HostingOrder.objects.filter(vm_id=vm.id).first()
|
||||
context = {
|
||||
'vm': vm,
|
||||
'order': order,
|
||||
'base_url': "{0}://{1}".format(self.request.scheme,
|
||||
self.request.get_host()),
|
||||
'page_header': _('Virtual Machine Cancellation')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue