From 1969a6633e4c7e9a28cb73a3a732ed33ada1d064 Mon Sep 17 00:00:00 2001 From: ichuang Date: Sun, 31 Mar 2013 16:04:03 +0000 Subject: [PATCH] if user course creation is disabled & if staff email given, add link to request course creation by email --- cms/envs/common.py | 1 + cms/templates/index.html | 2 ++ 2 files changed, 3 insertions(+) diff --git a/cms/envs/common.py b/cms/envs/common.py index 12fa09947a..c348753632 100644 --- a/cms/envs/common.py +++ b/cms/envs/common.py @@ -34,6 +34,7 @@ MITX_FEATURES = { 'ENABLE_DISCUSSION_SERVICE': False, 'AUTH_USE_MIT_CERTIFICATES': False, 'STUB_VIDEO_FOR_TESTING': False, # do not display video when running automated acceptance tests + 'STAFF_EMAIL': '', # email address for staff (eg to request course creation) } ENABLE_JASMINE = False diff --git a/cms/templates/index.html b/cms/templates/index.html index 9482b9d9af..6a59ac8b86 100644 --- a/cms/templates/index.html +++ b/cms/templates/index.html @@ -46,6 +46,8 @@