Getting vm name properly in hosting views
This commit is contained in:
		
					parent
					
						
							
								50431542f8
							
						
					
				
			
			
				commit
				
					
						8f2655bda2
					
				
			
		
					 2 changed files with 15 additions and 12 deletions
				
			
		|  | @ -659,8 +659,8 @@ class PaymentVMView(LoginRequiredMixin, FormView): | |||
|                 'base_url': "{0}://{1}".format(request.scheme, | ||||
|                                                request.get_host()), | ||||
|                 'page_header': _( | ||||
|                     'Your New VM {vm_name} at Data Center Light'.format( | ||||
|                         vm_name=vm.get('name'))) | ||||
|                     'Your New VM %(vm_name)s at Data Center Light') % { | ||||
|                                    'vm_name': vm.get('name')} | ||||
|             } | ||||
|             email_data = { | ||||
|                 'subject': context.get('page_header'), | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue