Changed offers in VM pricing, Fixed pricing error changing disk size, VM footer dead links, Added logged out message
This commit is contained in:
		
					parent
					
						
							
								76c0fc092a
							
						
					
				
			
			
				commit
				
					
						768a990040
					
				
			
		
					 13 changed files with 124 additions and 44 deletions
				
			
		| 
						 | 
				
			
			@ -29,10 +29,11 @@ class DjangoHostingView(ProcessVMSelectionMixin, View):
 | 
			
		|||
            'email': "info@django-hosting.ch",
 | 
			
		||||
            'vm_types': VirtualMachineType.get_serialized_vm_types(),
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        return context
 | 
			
		||||
 | 
			
		||||
    def get(self, request, *args, **kwargs):
 | 
			
		||||
 | 
			
		||||
        request.session['hosting_url'] = reverse('hosting:djangohosting')
 | 
			
		||||
        context = self.get_context_data()
 | 
			
		||||
 | 
			
		||||
        return render(request, self.template_name, context)
 | 
			
		||||
| 
						 | 
				
			
			@ -53,6 +54,7 @@ class RailsHostingView(ProcessVMSelectionMixin, View):
 | 
			
		|||
        return context
 | 
			
		||||
 | 
			
		||||
    def get(self, request, *args, **kwargs):
 | 
			
		||||
        request.session['hosting_url'] = reverse('hosting:railshosting')
 | 
			
		||||
        context = self.get_context_data()
 | 
			
		||||
        return render(request, self.template_name, context)
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -72,7 +74,7 @@ class NodeJSHostingView(ProcessVMSelectionMixin, View):
 | 
			
		|||
        return context
 | 
			
		||||
 | 
			
		||||
    def get(self, request, *args, **kwargs):
 | 
			
		||||
 | 
			
		||||
        request.session['hosting_url'] = reverse('hosting:nodejshosting')
 | 
			
		||||
        context = self.get_context_data()
 | 
			
		||||
 | 
			
		||||
        return render(request, self.template_name, context)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue