diff --git a/hosting/templates/hosting/includes/_navbar_user.html b/hosting/templates/hosting/includes/_navbar_user.html
index 126dd1e6..d06477ca 100644
--- a/hosting/templates/hosting/includes/_navbar_user.html
+++ b/hosting/templates/hosting/includes/_navbar_user.html
@@ -37,7 +37,11 @@
{% get_current_language as LANGUAGE_CODE %}
-
+ {% if LANGUAGE_CODE == 'en-us'%}
+ Deutsch
+ {% else %}
+ English
+ {% endif %}
diff --git a/hosting/views.py b/hosting/views.py
index 20c2cc78..4d2d4f42 100644
--- a/hosting/views.py
+++ b/hosting/views.py
@@ -698,7 +698,7 @@ class OrdersHostingDetailView(LoginRequiredMixin,
'last4')
context['cc_brand'] = card_details.get('response_object').get(
'cc_brand')
- context['vm'] = request.session.get('specs')
+ context['vm'] = self.request.session.get('specs')
return context
def post(self, request):
@@ -776,8 +776,8 @@ class OrdersHostingDetailView(LoginRequiredMixin,
'redirect': reverse('hosting:virtual_machines'),
'msg_title': str(_('Thank you for the order.')),
'msg_body': str(_('Your VM will be up and running in a few moments.'
- ' We will send you a confirmation email as soon as'
- ' it is ready.'))
+ ' We will send you a confirmation email as soon as'
+ ' it is ready.'))
}
return HttpResponse(json.dumps(response),