vm cancel email subject changed

This commit is contained in:
Arvind Tiwari 2017-09-28 01:11:39 +05:30
parent 11c1781839
commit 7a07785a94
1 changed files with 2 additions and 1 deletions

View File

@ -1081,7 +1081,8 @@ class VirtualMachineView(LoginRequiredMixin, View):
'vm_name': vm_name,
'base_url': "{0}://{1}".format(self.request.scheme,
self.request.get_host()),
'page_header': _('Virtual Machine Cancellation')
'page_header': _('Virtual Machine %(vm_name)s Cancelled') % {
'vm_name': vm_name}
}
email_data = {
'subject': context['page_header'],