From 211e55dbcb1bbe46731432d20e57318cbc1a5187 Mon Sep 17 00:00:00 2001 From: Joseph Muller Date: Mon, 18 Nov 2024 10:21:09 +0000 Subject: [PATCH 1/2] Deprecate account pages openlibhums/janeway#4380 --- templates/custom/activate-account.html | 4 ++++ templates/custom/get-reset-token.html | 4 ++++ templates/custom/login.html | 4 ++++ templates/custom/orcid-registration.html | 4 ++++ templates/custom/profile.html | 4 ++++ templates/custom/register.html | 4 ++++ templates/custom/reset-password.html | 4 ++++ 7 files changed, 28 insertions(+) diff --git a/templates/custom/activate-account.html b/templates/custom/activate-account.html index 81bc847d..b6b02875 100644 --- a/templates/custom/activate-account.html +++ b/templates/custom/activate-account.html @@ -1,3 +1,7 @@ +{% comment %} + This template is deprecated. Account pages are now part of the back-office. +{% endcomment %} + {% load static %} {% load component_tags %} diff --git a/templates/custom/get-reset-token.html b/templates/custom/get-reset-token.html index dc970f54..73d879f5 100644 --- a/templates/custom/get-reset-token.html +++ b/templates/custom/get-reset-token.html @@ -1,3 +1,7 @@ +{% comment %} + This template is deprecated. Account pages are now part of the back-office. +{% endcomment %} + {% load static %} {% load component_tags %} {% load orcid %} diff --git a/templates/custom/login.html b/templates/custom/login.html index 8253c001..8a231be9 100644 --- a/templates/custom/login.html +++ b/templates/custom/login.html @@ -1,3 +1,7 @@ +{% comment %} + This template is deprecated. Account pages are now part of the back-office. +{% endcomment %} + {% load static %} {% load component_tags %} {% load orcid %} diff --git a/templates/custom/orcid-registration.html b/templates/custom/orcid-registration.html index 19ca917f..8a488be2 100644 --- a/templates/custom/orcid-registration.html +++ b/templates/custom/orcid-registration.html @@ -1,3 +1,7 @@ +{% comment %} + This template is deprecated. Account pages are now part of the back-office. +{% endcomment %} + {% load static %} {% load component_tags %} diff --git a/templates/custom/profile.html b/templates/custom/profile.html index 373801ce..80eebd38 100644 --- a/templates/custom/profile.html +++ b/templates/custom/profile.html @@ -1,3 +1,7 @@ +{% comment %} + This template is deprecated. Account pages are now part of the back-office. +{% endcomment %} + {% load static %} {% load component_tags %} diff --git a/templates/custom/register.html b/templates/custom/register.html index 842b8e69..3a9a864b 100644 --- a/templates/custom/register.html +++ b/templates/custom/register.html @@ -1,3 +1,7 @@ +{% comment %} + This template is deprecated. Account pages are now part of the back-office. +{% endcomment %} + {% load static %} {% load component_tags %} diff --git a/templates/custom/reset-password.html b/templates/custom/reset-password.html index f070a3a0..d68e394a 100644 --- a/templates/custom/reset-password.html +++ b/templates/custom/reset-password.html @@ -1,3 +1,7 @@ +{% comment %} + This template is deprecated. Account pages are now part of the back-office. +{% endcomment %} + {% load static %} {% load component_tags %} From 311b5221427eb565a25280421dd5d170718f9d56 Mon Sep 17 00:00:00 2001 From: Joseph Muller Date: Thu, 21 Nov 2024 15:10:03 +0000 Subject: [PATCH 2/2] Completes 211e55d openlibhums/janeway#4380 --- templates/core/accounts/activate_account.html | 4 ++++ templates/core/accounts/edit_profile.html | 4 ++++ templates/core/accounts/get_reset_token.html | 4 ++++ templates/core/accounts/login.html | 4 ++++ templates/core/accounts/orcid_registration.html | 4 ++++ templates/core/accounts/public_profile.html | 4 ++++ templates/core/accounts/register.html | 4 ++++ templates/core/accounts/reset_password.html | 4 ++++ 8 files changed, 32 insertions(+) diff --git a/templates/core/accounts/activate_account.html b/templates/core/accounts/activate_account.html index 4564aecc..49235055 100644 --- a/templates/core/accounts/activate_account.html +++ b/templates/core/accounts/activate_account.html @@ -1,3 +1,7 @@ +{% comment %} + This template is deprecated. Account pages are now part of the back-office. +{% endcomment %} + {% extends "core/base.html" %} {% load i18n %} diff --git a/templates/core/accounts/edit_profile.html b/templates/core/accounts/edit_profile.html index 1bedee23..84bcbe53 100644 --- a/templates/core/accounts/edit_profile.html +++ b/templates/core/accounts/edit_profile.html @@ -1,3 +1,7 @@ +{% comment %} + This template is deprecated. Account pages are now part of the back-office. +{% endcomment %} + {% extends "core/base.html" %} {% load i18n roles %} diff --git a/templates/core/accounts/get_reset_token.html b/templates/core/accounts/get_reset_token.html index 9d599b9a..509bf333 100644 --- a/templates/core/accounts/get_reset_token.html +++ b/templates/core/accounts/get_reset_token.html @@ -1,3 +1,7 @@ +{% comment %} + This template is deprecated. Account pages are now part of the back-office. +{% endcomment %} + {% extends "core/base.html" %} {% load i18n %} diff --git a/templates/core/accounts/login.html b/templates/core/accounts/login.html index 792ca991..955cb90d 100644 --- a/templates/core/accounts/login.html +++ b/templates/core/accounts/login.html @@ -1,3 +1,7 @@ +{% comment %} + This template is deprecated. Account pages are now part of the back-office. +{% endcomment %} + {% extends "core/base.html" %} {% load i18n %} {% load orcid %} diff --git a/templates/core/accounts/orcid_registration.html b/templates/core/accounts/orcid_registration.html index 60348165..fd21699d 100644 --- a/templates/core/accounts/orcid_registration.html +++ b/templates/core/accounts/orcid_registration.html @@ -1,3 +1,7 @@ +{% comment %} + This template is deprecated. Account pages are now part of the back-office. +{% endcomment %} + {% extends "core/base.html" %} {% load i18n %} {% load static %} diff --git a/templates/core/accounts/public_profile.html b/templates/core/accounts/public_profile.html index be9d15ec..694d9b01 100644 --- a/templates/core/accounts/public_profile.html +++ b/templates/core/accounts/public_profile.html @@ -1,3 +1,7 @@ +{% comment %} + This template is deprecated. Account pages are now part of the back-office. +{% endcomment %} + {% extends "core/base.html" %} {% load component_tags %} diff --git a/templates/core/accounts/register.html b/templates/core/accounts/register.html index f0c65001..c4aa126b 100644 --- a/templates/core/accounts/register.html +++ b/templates/core/accounts/register.html @@ -1,3 +1,7 @@ +{% comment %} + This template is deprecated. Account pages are now part of the back-office. +{% endcomment %} + {% extends "core/base.html" %} {% load i18n %} {% load static %} diff --git a/templates/core/accounts/reset_password.html b/templates/core/accounts/reset_password.html index e414f7ca..f9a07458 100644 --- a/templates/core/accounts/reset_password.html +++ b/templates/core/accounts/reset_password.html @@ -1,3 +1,7 @@ +{% comment %} + This template is deprecated. Account pages are now part of the back-office. +{% endcomment %} + {% extends "core/base.html" %} {% load i18n %} {% load materializecss %}