From f952a33ec36821fea72469fda6896353a05be390 Mon Sep 17 00:00:00 2001 From: Jonathan Piacenti Date: Fri, 20 Feb 2015 20:18:06 +0000 Subject: [PATCH] Make UI styling consistent between libraries and courses tabs when empty. --- cms/static/sass/views/_dashboard.scss | 2 +- cms/templates/index.html | 27 ++++++++++++++++++++++----- 2 files changed, 23 insertions(+), 6 deletions(-) diff --git a/cms/static/sass/views/_dashboard.scss b/cms/static/sass/views/_dashboard.scss index 7dbb967400..c81690b4a2 100644 --- a/cms/static/sass/views/_dashboard.scss +++ b/cms/static/sass/views/_dashboard.scss @@ -55,7 +55,7 @@ } - .action-create-course { + .action-create-course, .action-create-library { @extend %btn-primary-green; @extend %t-action3; } diff --git a/cms/templates/index.html b/cms/templates/index.html index 218c005458..90daaa1976 100644 --- a/cms/templates/index.html +++ b/cms/templates/index.html @@ -302,9 +302,9 @@
-

${_("Are you staff on an existing {studio_name} course?").format(studio_name=settings.STUDIO_SHORT_NAME)}

+

${_("Are you staff on an existing {studio_name} course?").format(studio_name=set)}

-

${_('You will need to be added to the course in {studio_name} by the course creator. Please get in touch with the course creator or administrator for the specific course you are helping to author.').format(studio_name=settings.STUDIO_SHORT_NAME)}

+

${_('The course creator must give you access to the course. Contact the course creator or administrator for the course you are helping to author.')}

@@ -443,11 +443,28 @@
-
-

${_("You don't have any content libraries yet.")}

-
+

${_("Were you expecting to see a particular library here?")}

+
+

${_('The library creator must give you access to the library. Contact the library creator or administrator for the library you are helping to author.')}

+
+ %if course_creator_status == "granted": +
+
+

${_('Create Your First Library')}

+
+

${_('Libraries hold a pool of components that can be re-used across multiple courses. Create your first library with the click of a button!')}

+
+
+ + +
+ %endif
%endif