Commit 46389550 by kimth

Merge pull request #623 from MITx/feature/dave/courseware_button_fix

Quick fix for prod issue -- making view courseware link from course abou...
parents 319e6260 44722e86
......@@ -71,14 +71,14 @@
course_target = reverse('about_course', args=[course.id])
show_link = settings.MITX_FEATURES.get('ENABLE_LMS_MIGRATION')
%>
%if show_link:
%if show_link or show_courseware_link:
<a href="${course_target}">
%endif
<span class="register disabled">You are registered for this course (${course.number})</span>
% if show_courseware_link:
<strong>View Courseware</strong>
% endif
%if show_link:
%if show_link or show_courseware_link:
</a>
%endif
%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