From 92e830df24a6896d3e9d287cfa43e110f4d45bfd Mon Sep 17 00:00:00 2001 From: Tom Giannattasio Date: Thu, 4 Oct 2012 10:37:46 -0400 Subject: [PATCH] more explicit temporary status on landing page --- cms/djangoapps/contentstore/views.py | 3 ++- cms/static/sass/_landing.scss | 2 ++ cms/templates/{landing.html => temp-course-landing.html} | 0 cms/urls.py | 2 ++ 4 files changed, 6 insertions(+), 1 deletion(-) rename cms/templates/{landing.html => temp-course-landing.html} (100%) 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') )