From 91e7f44eed1f67f2df2a21daea4a659992051fe4 Mon Sep 17 00:00:00 2001 From: "M.Ravi" Date: Thu, 30 Nov 2023 15:02:21 +0530 Subject: [PATCH] Fix login / logout views --- hosting/templates/hosting/dashboard.html | 10 +++--- .../hosting/includes/_navbar_user.html | 2 +- hosting/urls.py | 7 ++-- hosting/views.py | 35 +++++++++++++++++++ 4 files changed, 45 insertions(+), 9 deletions(-) diff --git a/hosting/templates/hosting/dashboard.html b/hosting/templates/hosting/dashboard.html index ebec43d..bacdbd5 100755 --- a/hosting/templates/hosting/dashboard.html +++ b/hosting/templates/hosting/dashboard.html @@ -11,31 +11,31 @@ {% trans "Welcome" %} {{request.user.name}}
- +

{% trans "Create VM" %}

- +

{% trans "My VMs" %}

- +

{% trans "My SSH Keys" %}

- +

{% trans "My Bills" %}

- +

{% trans "My Settings" %}

diff --git a/hosting/templates/hosting/includes/_navbar_user.html b/hosting/templates/hosting/includes/_navbar_user.html index 43948e5..1a69fc2 100755 --- a/hosting/templates/hosting/includes/_navbar_user.html +++ b/hosting/templates/hosting/includes/_navbar_user.html @@ -1,4 +1,4 @@ -{% load static i18n %} +{% load static i18n custom_tags %}