Commit 95586e1e by Diana Huang

More hacks.

parent 3310d2fc
......@@ -10,6 +10,7 @@ from datetime import date
from django.utils.translation import ugettext as _
from openedx.core.djangolib.markup import HTML, Text
from courseware.access_utils import check_course_open_for_learner
%>
<main role="main" class="course-outline" id="main" tabindex="-1">
......@@ -126,7 +127,7 @@ from openedx.core.djangolib.markup import HTML, Text
<div class="copy-large">
<span class="icon fa fa-calendar-o" aria-hidden="true"></span>
<%
course_started = course.start.date() <= date.today()
course_started = check_course_open_for_learner(request.user, course)
%>
% if course.start_date_is_still_default:
......
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