Commit 25b0264a by Marco Morales

Merge pull request #7730 from edx/marco/fix/course-refund-via-unenroll

Still show dropdown actions even if course isn't accessible.
parents 4027ca1f c67e8b9e
......@@ -99,9 +99,9 @@ from student.helpers import (
% endif
</span>
</div>
% if show_courseware_link:
<div class="wrapper-course-actions">
<div class="course-actions">
% if show_courseware_link:
% if course.has_ended():
% if not is_course_blocked:
<a href="${course_target}" class="enter-course archived">${_('View Archived Course')}<span class="sr">&nbsp;${course.display_name_with_default}</span></a>
......@@ -161,7 +161,7 @@ from student.helpers import (
</a>
% endif
% endif
% endif
<div class="wrapper-action-more">
<a href="#actions-dropdown-${dashboard_index}" class="action action-more" id="actions-dropdown-link-${dashboard_index}" aria-haspopup="true" aria-expanded="false" data-course-number="${course.number | h}" data-dashboard-index="${dashboard_index}">
<span class="sr">${_('Course options dropdown')}</span>
......@@ -267,7 +267,6 @@ from student.helpers import (
</div>
</div>
</div>
% endif
</div>
</section>
<footer class="wrapper-messages-primary">
......
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