Hide Xblock due dates in studio for self-paced courses.
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user