more explicit temporary status on landing page

This commit is contained in:
Tom Giannattasio
2012-10-04 10:37:46 -04:00
parent cd64f92171
commit 92e830df24
4 changed files with 6 additions and 1 deletions

View File

@@ -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', {})
return render_to_response('temp-course-landing.html', {})

View File

@@ -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 {

View File

@@ -30,6 +30,8 @@ urlpatterns = ('',
url(r'^(?P<org>[^/]+)/(?P<course>[^/]+)/course/(?P<name>[^/]+)/remove_user$',
'contentstore.views.remove_user', name='remove_user'),
url(r'^assets/(?P<location>.*?)$', 'contentstore.views.asset_index', name='asset_index'),
# temporary landing page for a course
url(r'^landing/(?P<org>[^/]+)/(?P<course>[^/]+)/course/(?P<coursename>[^/]+)$', 'contentstore.views.landing', name='landing')
)