Skip to content

Commit

Permalink
Remove deprecated support links, route
Browse files Browse the repository at this point in the history
  • Loading branch information
mfraezz committed Jul 5, 2023
1 parent 3ef2d89 commit e46d9da
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions scripts/populate_institutions.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ def main(default_args=False):
'name': 'Carnegie Mellon University',
'description': 'A Project Management Tool for the CMU Community: <a href="https://l'
'ibrary.cmu.edu/OSF">Get Help at CMU</a> | <a href="https://cos.io/o'
'ur-products/osf/">About OSF</a> | <a href="https://osf.io/support/"'
'ur-products/osf/">About OSF</a> | <a href="https://help.osf.io/"'
'>OSF Support</a> | <a href="https://library.cmu.edu/OSF/terms-of-us'
'e">Terms of Use</a>',
'login_url': SHIBBOLETH_SP_LOGIN.format(encode_uri_component('https://login.cmu.edu/idp/shibboleth')),
Expand Down Expand Up @@ -1151,7 +1151,7 @@ def main(default_args=False):
'name': 'Carnegie Mellon University [Test]',
'description': 'A Project Management Tool for the CMU Community: <a href="https://l'
'ibrary.cmu.edu/OSF">Get Help at CMU</a> | <a href="https://cos.io/o'
'ur-products/osf/">About OSF</a> | <a href="https://osf.io/support/"'
'ur-products/osf/">About OSF</a> | <a href="https://help.osf.io/"'
'>OSF Support</a> | <a href="https://library.cmu.edu/OSF/terms-of-us'
'e">Terms of Use</a>',
'login_url': SHIBBOLETH_SP_LOGIN.format(encode_uri_component('https://login.cmu.edu/idp/shibboleth')),
Expand Down
1 change: 0 additions & 1 deletion website/ember_osf_web/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
'/quickfiles/',
'/<uid>/quickfiles/',
'/institutions/',
'/support/',
]

def use_ember_app(**kwargs):
Expand Down
2 changes: 1 addition & 1 deletion website/templates/base.mako
Original file line number Diff line number Diff line change
Expand Up @@ -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>

<%def name="title()">
Expand Down
2 changes: 1 addition & 1 deletion website/templates/nav.mako
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
<ul class="dropdown-menu auth-dropdown" role="menu">
<li><a data-bind="click: trackClick.bind($data, 'MyProfile')" href="${domain}profile/"><i class="fa fa-user fa-lg p-r-xs"></i> My Profile</a></li>
<li><a data-bind="click: trackClick.bind($data, 'Support')" href="${domain}support/" ><i class="fa fa-life-ring fa-lg p-r-xs"></i> OSF Support</a></li>
<li><a data-bind="click: trackClick.bind($data, 'Support')" href="https://help.osf.io/" ><i class="fa fa-life-ring fa-lg p-r-xs"></i> OSF Support</a></li>
<li><a data-bind="click: trackClick.bind($data, 'Settings')" href="${web_url_for('user_profile')}"><i class="fa fa-cog fa-lg p-r-xs"></i> Settings</a></li>
<li><a data-bind="click: trackClick.bind($data, 'Logout')" href="${web_url_for('auth_logout')}"><i class="fa fa-sign-out fa-lg p-r-xs"></i> Log out</a></li>
</ul>
Expand Down

0 comments on commit e46d9da

Please sign in to comment.