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

This commit is contained in:
Peter Fogg
2015-10-30 15:33:52 -04:00
parent cdd5a6f8fb
commit 709758e433

View File

@@ -165,7 +165,7 @@ if (is_proctored_exam) {
<span class="sr status-grading-label"> <%= gettext('Graded as:') %> </span>
<i class="icon fa fa-check"></i>
<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>
<% } %>
</p>