Commit c67e8b9e by Marco Morales

moved the dropdown actions outside of the if show_courseware_link in attempt to…

moved the dropdown actions outside of the if show_courseware_link in attempt to still show the dropdown actions
parent c5ce007a
...@@ -99,9 +99,9 @@ from student.helpers import ( ...@@ -99,9 +99,9 @@ from student.helpers import (
% endif % endif
</span> </span>
</div> </div>
% if show_courseware_link:
<div class="wrapper-course-actions"> <div class="wrapper-course-actions">
<div class="course-actions"> <div class="course-actions">
% if show_courseware_link:
% if course.has_ended(): % if course.has_ended():
% if not is_course_blocked: % 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> <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 ( ...@@ -161,7 +161,7 @@ from student.helpers import (
</a> </a>
% endif % endif
% endif % endif
% endif
<div class="wrapper-action-more"> <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}"> <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> <span class="sr">${_('Course options dropdown')}</span>
...@@ -267,7 +267,6 @@ from student.helpers import ( ...@@ -267,7 +267,6 @@ from student.helpers import (
</div> </div>
</div> </div>
</div> </div>
% endif
</div> </div>
</section> </section>
<footer class="wrapper-messages-primary"> <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