From 4165e4086a1e930bf260d2852565ffc1a0e21088 Mon Sep 17 00:00:00 2001 From: Alice Butcher Date: Thu, 2 May 2024 16:58:57 +0100 Subject: [PATCH] fix: remove "forgot password" button and replace with explanation Closes #769 --- ckanext/nhm/theme/templates/user/login.html | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 ckanext/nhm/theme/templates/user/login.html diff --git a/ckanext/nhm/theme/templates/user/login.html b/ckanext/nhm/theme/templates/user/login.html new file mode 100644 index 00000000..96619828 --- /dev/null +++ b/ckanext/nhm/theme/templates/user/login.html @@ -0,0 +1,21 @@ +{% ckan_extends %} + +{% block help_forgotten %} +
+

{{ _('Accounts') }}

+
+

{% trans %}You do not need to log in to view or download data.{% endtrans %}

+

{% trans %}Accounts are used by Natural History Museum staff to create and administrate datasets. Only Natural History Museum staff can log in to the portal.{% endtrans %}

+
+
+
+{% block help_forgotten_inner %} +

{{ _('Trouble logging in?') }}

+
+

{% trans %}Use your regular Museum username and password.{% endtrans %}

+

{% trans %}Please check that your password has not expired, and if you have recently updated your password please wait a while before trying again.{% endtrans %}

+

{% trans %}If you are still having trouble, please contact us.{% endtrans %}

+
+{% endblock %} +
+{% endblock %}