diff --git a/cms/djangoapps/contentstore/views.py b/cms/djangoapps/contentstore/views.py index 8faddff6be..ad180ae21b 100644 --- a/cms/djangoapps/contentstore/views.py +++ b/cms/djangoapps/contentstore/views.py @@ -622,5 +622,6 @@ def remove_user(request, org, course, name): def asset_index(request, location): return render_to_response('asset_index.html',{}) +# points to the temporary course landing page with log in and sign up def landing(request, org, course, coursename): - return render_to_response('landing.html', {}) \ No newline at end of file + return render_to_response('temp-course-landing.html', {}) \ No newline at end of file diff --git a/cms/static/sass/_landing.scss b/cms/static/sass/_landing.scss index 2e68f83bc3..d8e3559635 100644 --- a/cms/static/sass/_landing.scss +++ b/cms/static/sass/_landing.scss @@ -1,3 +1,5 @@ +// This is a temporary page, which will be replaced once we have a more extensive course catalog and marketing site for edX labs. + .class-landing { .main-wrapper { diff --git a/cms/templates/landing.html b/cms/templates/temp-course-landing.html similarity index 100% rename from cms/templates/landing.html rename to cms/templates/temp-course-landing.html diff --git a/cms/urls.py b/cms/urls.py index 9deb366eda..2b6ee61cbd 100644 --- a/cms/urls.py +++ b/cms/urls.py @@ -30,6 +30,8 @@ urlpatterns = ('', url(r'^(?P[^/]+)/(?P[^/]+)/course/(?P[^/]+)/remove_user$', 'contentstore.views.remove_user', name='remove_user'), url(r'^assets/(?P.*?)$', 'contentstore.views.asset_index', name='asset_index'), + + # temporary landing page for a course url(r'^landing/(?P[^/]+)/(?P[^/]+)/course/(?P[^/]+)$', 'contentstore.views.landing', name='landing') )