Skip to content

Commit fbdd616

Browse files
committed
Change slack references to discord
1 parent 70a9b93 commit fbdd616

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

lms/djangoapps/ci_support/urls.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
from django.conf.urls import url
22
from django.conf import settings
33

4-
from .views import support, tutor, mentor, slack, troubleshooting, studentcare, careers
4+
from .views import support, tutor, mentor, discord, troubleshooting, studentcare, careers
55

66
urlpatterns = [
77
url(r'^(?P<program_slug>\w+)/support$', support, name='support'),
88
url(r'^(?P<program_slug>\w+)/tutor$', tutor, name='tutor'),
99
url(r'^(?P<program_slug>\w+)/mentor$', mentor, name='mentor'),
10-
url(r'^(?P<program_slug>\w+)/slack$', slack, name='slack'),
10+
url(r'^(?P<program_slug>\w+)/discord$', discord, name='discord'),
1111
url(r'^(?P<program_slug>\w+)/troubleshooting$', troubleshooting, name='troubleshooting'),
1212
url(r'^(?P<program_slug>\w+)/studentcare$', studentcare, name='studentcare'),
1313
url(r'^(?P<program_slug>\w+)/careers$', careers, name='careers'),

lms/djangoapps/ci_support/views.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,11 @@ def mentor(request, program_slug, student_id=None):
6161
@transaction.non_atomic_requests
6262
@login_required
6363
@cache_control(no_cache=True, no_store=True, must_revalidate=True)
64-
def slack(request, program_slug, student_id=None):
65-
""" Display the slack page. """
64+
def discord(request, program_slug, student_id=None):
65+
""" Display the discord page. """
6666

6767
return render_to_response(
68-
'ci_support/support/slack.html',
68+
'ci_support/support/discord.html',
6969
{'program_slug': program_slug, 'student': request.user})
7070

7171

lms/envs/production.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1056,7 +1056,7 @@ def should_show_debug_toolbar(request):
10561056
BREADCRUMB_INDEX_URL = AUTH_TOKENS.get('BREADCRUMB_INDEX_URL')
10571057
PROGRAMMES_WITHOUT_PROGRESS = AUTH_TOKENS.get('PROGRAMMES_WITHOUT_PROGRESS')
10581058
SUPPORT_TAB_FEATURES = AUTH_TOKENS.get('SUPPORT_TAB_FEATURES')
1059-
DEFAULT_SUPPORT_TABS = (AUTH_TOKENS.get('DEFAULT_SUPPORT_TABS', 'slack,studentcare,tutor')).split(',')
1059+
DEFAULT_SUPPORT_TABS = (AUTH_TOKENS.get('DEFAULT_SUPPORT_TABS', 'discord,studentcare,tutor')).split(',')
10601060
INTERCOM_APP_ID = AUTH_TOKENS.get('INTERCOM_APP_ID')
10611061
INTERCOM_IDENTIFICATION_SECRET_KEY = AUTH_TOKENS.get('INTERCOM_IDENTIFICATION_SECRET_KEY')
10621062

0 commit comments

Comments
 (0)