diff --git a/cms/templates/js/course-outline.underscore b/cms/templates/js/course-outline.underscore index c8a575f7e49b..affe241ecb19 100644 --- a/cms/templates/js/course-outline.underscore +++ b/cms/templates/js/course-outline.underscore @@ -21,9 +21,12 @@ var addStatusMessage = function (statusType, message) { statusIconClass = 'fa-warning'; } else if (statusType === 'staff-only' || statusType === 'gated') { statusIconClass = 'fa-lock'; - } else if(statusType === 'hide-from-toc') { + } else if(statusType === 'hide-from-toc-chapter') { statusIconClass = 'fa-eye-slash'; } + else if(statusType === 'hide-from-toc-sequence') { + statusIconClass = 'fa-ban'; + } else if (statusType === 'partition-groups') { statusIconClass = 'fa-eye'; } @@ -54,10 +57,11 @@ if (staffOnlyMessage) { } else if (hideFromTOCMessage && !xblockInfo.isVertical()){ if (xblockInfo.isChapter()) { messageText = gettext('Hidden in the course outline, but sections are accessible for your learners through their separate link.'); + messageType = 'hide-from-toc-chapter'; } else { messageText = gettext('Subsections are not navigable between each other, they can only be accessed through their link.'); + messageType = 'hide-from-toc-sequence'; } - messageType = 'hide-from-toc'; addStatusMessage(messageType, messageText); } else { if (visibilityState === 'needs_attention' && xblockInfo.isVertical()) { diff --git a/cms/templates/js/staff-lock-editor.underscore b/cms/templates/js/staff-lock-editor.underscore index 3af322440362..277b055c9646 100644 --- a/cms/templates/js/staff-lock-editor.underscore +++ b/cms/templates/js/staff-lock-editor.underscore @@ -29,7 +29,7 @@ <%- gettext('Hide in Course Outline, accessible via Link') %>
- <%- gettext('It is intentionally hidden from standard navigation, ensuring that only individuals witht he link can view its contents.') %> + <%- gettext('It is intentionally hidden from standard navigation, ensuring that only individuals with the link can view its contents.') %>
<% } %>