From 86ab0514fa3128e30f9560e44cd8fd2831d5d44a Mon Sep 17 00:00:00 2001 From: Ian Scott Date: Mon, 2 Dec 2024 18:12:42 -0500 Subject: [PATCH] fix(login): Added KC register link to login page --- assets/less/site/globals/site.overrides | 6 ++++++ invenio.cfg | 1 + templates/semantic-ui/invenio_saml/login_user.html | 13 +++++++------ 3 files changed, 14 insertions(+), 6 deletions(-) diff --git a/assets/less/site/globals/site.overrides b/assets/less/site/globals/site.overrides index ecf96174..680ec971 100644 --- a/assets/less/site/globals/site.overrides +++ b/assets/less/site/globals/site.overrides @@ -67,6 +67,12 @@ a { } } +.login.segment { + .ui.button { + text-decoration: none; + } +} + // FIXME: hidden for now #skip-to-main { diff --git a/invenio.cfg b/invenio.cfg index 948c52b3..566cc902 100644 --- a/invenio.cfg +++ b/invenio.cfg @@ -264,6 +264,7 @@ KC_HELP_URL = f"https://support.{KC_WORDPRESS_DOMAIN}" KC_WORKS_HELP_URL = f"{KC_HELP_URL}/kcworks/" KC_FAQ_URL = f"{KC_HELP_URL}/faqs/#kcworks-faq" KC_PROFILES_URL_BASE = f"https://{KC_WORDPRESS_DOMAIN}/members/" +KC_REGISTER_URL = f"https://{KC_WORDPRESS_DOMAIN}/membership/" KC_SEARCH_URL_DOCS = os.getenv( "INVENIO_KC_SEARCH_URL_DOCS", diff --git a/templates/semantic-ui/invenio_saml/login_user.html b/templates/semantic-ui/invenio_saml/login_user.html index 97114632..45d1fe8f 100644 --- a/templates/semantic-ui/invenio_saml/login_user.html +++ b/templates/semantic-ui/invenio_saml/login_user.html @@ -20,9 +20,8 @@ {% block page_body %}
+
{% endblock page_body %}