From a6f4085b13c07499fe61dd64b0e2269ba1336f3e Mon Sep 17 00:00:00 2001 From: Matt Lott Date: Thu, 8 Oct 2015 06:07:37 -0700 Subject: [PATCH] Update course details progress colors Only show not started key when expanded progress. --- app/styles/courses/course-details.sass | 12 ++++++------ app/templates/courses/course-details.jade | 3 ++- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/app/styles/courses/course-details.sass b/app/styles/courses/course-details.sass index 2cdeb737f..aa895e2d1 100644 --- a/app/styles/courses/course-details.sass +++ b/app/styles/courses/course-details.sass @@ -26,10 +26,10 @@ padding: 2px .progress-concept-cell-complete - background-color: lightblue + background-color: lightgreen .progress-concept-cell-started - background-color: lightgreen + background-color: lightyellow .progress-concept-completion-container font-size: 10pt @@ -76,10 +76,10 @@ padding: 2px .progress-key-complete - background-color: lightblue + background-color: lightgreen .progress-key-started - background-color: lightgreen + background-color: lightyellow .progress-expand-checkbox margin-left: 14px @@ -99,11 +99,11 @@ .progress-level-cell-complete cursor: pointer - background-color: lightblue + background-color: lightgreen .progress-level-cell-started cursor: pointer - background-color: lightgreen + background-color: lightyellow .progess-levels-label color: #317EAC diff --git a/app/templates/courses/course-details.jade b/app/templates/courses/course-details.jade index a71da79a9..ed424f25c 100644 --- a/app/templates/courses/course-details.jade +++ b/app/templates/courses/course-details.jade @@ -151,7 +151,8 @@ mixin progress-members span(style='padding-left:16px;') span.progress-key.progress-key-complete(data-i18n="clans.complete_1") span.progress-key.progress-key-started(data-i18n="clans.started_1") - span.progress-key(data-i18n="clans.not_started_1") + if showExpandedProgress + span.progress-key(data-i18n="clans.not_started_1") input.progress-expand-checkbox(type='checkbox') span.spl.progress-expand-label(data-i18n="courses.expand_details") tbody