From e46d9da6c4a62325ee06c357a4e89e4c3f7a3792 Mon Sep 17 00:00:00 2001 From: Matt Frazier Date: Wed, 5 Jul 2023 12:28:14 -0400 Subject: [PATCH] Remove deprecated support links, route --- scripts/populate_institutions.py | 4 ++-- website/ember_osf_web/views.py | 1 - website/templates/base.mako | 2 +- website/templates/nav.mako | 2 +- 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/scripts/populate_institutions.py b/scripts/populate_institutions.py index 9ce3a69c3db..1aa8ded8e27 100644 --- a/scripts/populate_institutions.py +++ b/scripts/populate_institutions.py @@ -212,7 +212,7 @@ def main(default_args=False): 'name': 'Carnegie Mellon University', 'description': 'A Project Management Tool for the CMU Community: Get Help at CMU | About OSF | About OSF | OSF Support | Terms of Use', 'login_url': SHIBBOLETH_SP_LOGIN.format(encode_uri_component('https://login.cmu.edu/idp/shibboleth')), @@ -1151,7 +1151,7 @@ def main(default_args=False): 'name': 'Carnegie Mellon University [Test]', 'description': 'A Project Management Tool for the CMU Community: Get Help at CMU | About OSF | About OSF | OSF Support | Terms of Use', 'login_url': SHIBBOLETH_SP_LOGIN.format(encode_uri_component('https://login.cmu.edu/idp/shibboleth')), diff --git a/website/ember_osf_web/views.py b/website/ember_osf_web/views.py index e8af9301e28..65028aa077a 100644 --- a/website/ember_osf_web/views.py +++ b/website/ember_osf_web/views.py @@ -12,7 +12,6 @@ '/quickfiles/', '//quickfiles/', '/institutions/', - '/support/', ] def use_ember_app(**kwargs): diff --git a/website/templates/base.mako b/website/templates/base.mako index 5bf017ed598..61cf8bfd948 100644 --- a/website/templates/base.mako +++ b/website/templates/base.mako @@ -288,7 +288,7 @@ <%def name="nav()"> <%namespace name="nav_helper" file="nav.mako" /> - ${nav_helper.nav(service_name='HOME', service_url=domain, service_support_url='/support/')} + ${nav_helper.nav(service_name='HOME', service_url=domain, service_support_url='https://help.osf.io/')} <%def name="title()"> diff --git a/website/templates/nav.mako b/website/templates/nav.mako index 644c4a27198..ce9733291eb 100644 --- a/website/templates/nav.mako +++ b/website/templates/nav.mako @@ -63,7 +63,7 @@