From 7ebd77702aa5681d6635ef20b6252ce3c7f234de Mon Sep 17 00:00:00 2001 From: Andrea Lepori Date: Sun, 2 Jan 2022 21:54:05 +0100 Subject: fix tabs in user settings --- accounts/templates/accounts/index.html | 12 +++--------- accounts/views.py | 4 ++-- version.txt | 2 +- 3 files changed, 6 insertions(+), 12 deletions(-) diff --git a/accounts/templates/accounts/index.html b/accounts/templates/accounts/index.html index 7cd287d..061da5d 100644 --- a/accounts/templates/accounts/index.html +++ b/accounts/templates/accounts/index.html @@ -11,15 +11,14 @@ {% endblock%} {% block content %}
-
+
@@ -314,12 +313,7 @@
-
-
- Helloooooo -
-
-
+
diff --git a/accounts/views.py b/accounts/views.py index 2b971b3..26d45fa 100644 --- a/accounts/views.py +++ b/accounts/views.py @@ -107,7 +107,7 @@ def oauth_disconnect(request): usercode.midata_token = "" usercode.save() - return HttpResponseRedirect(reverse("personal") + "#misc") + return HttpResponseRedirect(reverse("personal") + "#settings") # callback after acquiring token @login_required @@ -133,7 +133,7 @@ def auth_connect(request): usercode.midata_token = token["access_token"] usercode.save() - return HttpResponseRedirect(reverse("personal") + "#misc") + return HttpResponseRedirect(reverse("personal") + "#settings") @sensitive_variables("raw_passsword") def signup(request): diff --git a/version.txt b/version.txt index f67036d..f283d1b 100644 --- a/version.txt +++ b/version.txt @@ -1,2 +1,2 @@ version=0.4 -rev=9 +rev=10 -- cgit v1.2.1