minor fix
This commit is contained in:
		
					parent
					
						
							
								5747468c21
							
						
					
				
			
			
				commit
				
					
						f4b6b38522
					
				
			
		
					 3 changed files with 2 additions and 3 deletions
				
			
		|  | @ -128,7 +128,7 @@ def create_vm_task(self, vm_template_id, user, specs, template, | |||
|             'storage': specs.get('disk_size'), | ||||
|             'price': specs.get('price'), | ||||
|             'template': template.get('name'), | ||||
|             'vm_name': vm['name'], | ||||
|             'vm_name': vm.get('name'), | ||||
|             'vm_id': vm['vm_id'], | ||||
|             'order_id': order.id | ||||
|         } | ||||
|  |  | |||
|  | @ -19,7 +19,7 @@ | |||
|         </tr> | ||||
|         <tr> | ||||
|             <td style="padding-top: 15px; padding-left: 30px; padding-right: 30px;"> | ||||
|                 <h1 style="font-family: Lato, Arial, sans-serif; font-size: 25px; font-weight: 400; margin: 0;">{% blocktrans %}Your New VM {{vm_name}}{% endblocktrans %}</h1> | ||||
|                 <h1 style="font-family: Lato, Arial, sans-serif; font-size: 25px; font-weight: 400; margin: 0;">{% blocktrans %}Your New VM {{ vm_name }}{% endblocktrans %}</h1> | ||||
|             </td> | ||||
|         </tr> | ||||
|         <tr> | ||||
|  |  | |||
|  | @ -267,7 +267,6 @@ class SignupValidatedView(SignupValidateView): | |||
|         section_title = _('Account activation') | ||||
|         user = CustomUser.objects.filter( | ||||
|             validation_slug=self.kwargs['validate_slug']).first() | ||||
|         # pre_valid = user.validated | ||||
|         if validated: | ||||
|             message = '{account_activation_string} <br /> {login_string} {lurl}.'.format( | ||||
|                 account_activation_string=_( | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue