Commit b1ddff83 by ichuang

add comment about course start date logic

parent 6f894c81
...@@ -63,6 +63,7 @@ ...@@ -63,6 +63,7 @@
%if user.is_authenticated(): %if user.is_authenticated():
%if registered: %if registered:
<% <%
## TODO: move this logic into a view
if course.has_started() or settings.MITX_FEATURES['DISABLE_START_DATES']: if course.has_started() or settings.MITX_FEATURES['DISABLE_START_DATES']:
course_target = reverse('info', args=[course.id]) course_target = reverse('info', args=[course.id])
else: else:
......
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