Commit 709758e4 by Peter Fogg

Hide Xblock due dates in studio for self-paced courses.

parent cdd5a6f8
...@@ -165,7 +165,7 @@ if (is_proctored_exam) { ...@@ -165,7 +165,7 @@ if (is_proctored_exam) {
<span class="sr status-grading-label"> <%= gettext('Graded as:') %> </span> <span class="sr status-grading-label"> <%= gettext('Graded as:') %> </span>
<i class="icon fa fa-check"></i> <i class="icon fa fa-check"></i>
<span class="status-grading-value"> <%= gradingType %> </span> <span class="status-grading-value"> <%= gradingType %> </span>
<% if (xblockInfo.get('due_date')) { %> <% if (xblockInfo.get('due_date') && !course.get('self_paced')) { %>
<span class="status-grading-date"> <%= gettext('Due:') %> <%= xblockInfo.get('due_date') %> </span> <span class="status-grading-date"> <%= gettext('Due:') %> <%= xblockInfo.get('due_date') %> </span>
<% } %> <% } %>
</p> </p>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment