Commit 6b093cf3 by David Ormsbee

Quick fix for prod issue -- making view courseware link from course about page always work.

parent b84a9ffe
...@@ -71,14 +71,14 @@ ...@@ -71,14 +71,14 @@
course_target = reverse('about_course', args=[course.id]) course_target = reverse('about_course', args=[course.id])
show_link = settings.MITX_FEATURES.get('ENABLE_LMS_MIGRATION') show_link = settings.MITX_FEATURES.get('ENABLE_LMS_MIGRATION')
%> %>
%if show_link: %if show_link or show_courseware_link:
<a href="${course_target}"> <a href="${course_target}">
%endif %endif
<span class="register disabled">You are registered for this course (${course.number})</span> <span class="register disabled">You are registered for this course (${course.number})</span>
% if show_courseware_link: % if show_courseware_link:
<strong>View Courseware</strong> <strong>View Courseware</strong>
% endif % endif
%if show_link: %if show_link or show_courseware_link:
</a> </a>
%endif %endif
%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