Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
bba03a51
Commit
bba03a51
authored
Aug 01, 2014
by
cahrens
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Show "Not Graded" for non-graded content with due date.
parent
d514f363
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletions
+6
-1
cms/templates/js/course-outline.underscore
+6
-1
No files found.
cms/templates/js/course-outline.underscore
View file @
bba03a51
...
...
@@ -30,6 +30,11 @@ if (statusType === 'warning') {
} else if (statusType === 'staff-only') {
statusIconClass = 'icon-lock';
}
var gradingType = gettext('Not Graded');
if (xblockInfo.get('graded')) {
gradingType = xblockInfo.get('format')
}
%>
<% if (parentInfo) { %>
<li class="outline-item outline-<%= xblockType %> <%= visibilityClass %> is-draggable <%= includesChildren ? 'is-collapsible' : '' %> <%= isCollapsed ? 'is-collapsed' : '' %>"
...
...
@@ -108,7 +113,7 @@ if (statusType === 'warning') {
<p>
<span class="sr status-grading-label"> <%= gettext('Graded as:') %> </span>
<i class="icon icon-ok"></i>
<span class="status-grading-value"> <%=
xblockInfo.get('format')
%> </span>
<span class="status-grading-value"> <%=
gradingType
%> </span>
<% if (xblockInfo.get('due_date')) { %>
<span class="status-grading-date"> <%= gettext('Due:') %> <%= xblockInfo.get('due_date') %> </span>
<% } %>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment