diff --git a/researchers/views.py b/researchers/views.py index 49c035967..451137d0c 100644 --- a/researchers/views.py +++ b/researchers/views.py @@ -1,4 +1,4 @@ -from datetime import timezone +from django.utils import timezone from django.shortcuts import render, redirect from django.contrib.auth.decorators import login_required from django.contrib import messages diff --git a/templates/account-settings-base.html b/templates/account-settings-base.html index d75665277..579dc7197 100644 --- a/templates/account-settings-base.html +++ b/templates/account-settings-base.html @@ -73,15 +73,17 @@

Account Settings

{% endif %} - {% if institution or researcher and envi != "SANDBOX" %} - -
-
-
-

Subscription
Subscription details and activity

+ {% if institution or researcher %} + {% if envi != "SANDBOX" %} +
+
+
+
+

Subscription
Subscription details and activity

+
-
- + + {% endif %} {% endif %} diff --git a/templates/partials/headers/header-content.html b/templates/partials/headers/header-content.html index c24fdf28e..c0eccfa37 100644 --- a/templates/partials/headers/header-content.html +++ b/templates/partials/headers/header-content.html @@ -11,12 +11,14 @@