Skip to content
Snippets Groups Projects
Commit 637405ae authored by Matt Hughes's avatar Matt Hughes Committed by Matt Hughes
Browse files

[fix]: studio display of ungraded subs.s w/useless due dates

By "useless" due dates I'm specifically talking about due dates which
are erroneously set in the course strucutre, but which don't matter
because the entire course is self-paced, rather than instructor-paced.

JIRA:EDUCATOR-5713
parent 6e1f700c
No related branches found
No related tags found
No related merge requests found
......@@ -235,7 +235,7 @@ if (is_proctored_exam) {
<% } %>
</p>
</div>
<% } else if (xblockInfo.get('due_date') || xblockInfo.get('graded')) { %>
<% } else if ((xblockInfo.get('due_date') && !course.get('self_paced')) || xblockInfo.get('graded')) { %>
<div class="status-grading">
<p>
<span class="sr status-grading-label"> <%- gettext('Graded as:') %> </span>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment