From 41651308f31462c0adb92bfc729289cb7137fb41 Mon Sep 17 00:00:00 2001 From: Brian Talbot Date: Wed, 10 Jul 2013 15:27:30 -0400 Subject: [PATCH] Studio - revises dashboard logic to handle authorship cases specifically (WIP) --- cms/templates/index.html | 98 ++++++---------------------------------- 1 file changed, 15 insertions(+), 83 deletions(-) diff --git a/cms/templates/index.html b/cms/templates/index.html index e17fc70f80..1df0878bd0 100644 --- a/cms/templates/index.html +++ b/cms/templates/index.html @@ -44,9 +44,11 @@

${_("Page Actions")}

+ !-- if request is pending --> %elif course_creator_status = "pending":

${_('Your Authorship Request Status:')}

@@ -202,6 +130,7 @@
+ !-- if request is denied --> %elif course_creator_status = "denied":

${_('Your Authorship Request Status:')}

@@ -236,6 +165,7 @@
+ % if disable_course_creation and settings.MITX_FEATURES.get('STAFF_EMAIL',''):

${_('Can I create courses in Studio?')}

@@ -243,12 +173,14 @@
% endif + % if not disable_course_creation and course_creator_status = "unrequested":

${_('Can I create courses in Studio?')}

${_('In order to create courses in Studio, you must have authorship rights to create your own course.')}

+ % elif not disable_course_creation and course_creator_status = "denied":

${_('Can I create courses in Studio?')}