Skip to content

Commit 3cef08d

Browse files
author
Colleen Palmer
committed
Add title for tooltip title in other browsers
closes: CNVS-29206 This enables the entire long course title to be seen when you hover over and view the tooltip. Test Plan: - Make sure to have a course with a long name - Go to All Courses page - Long course name should truncate, hover over and view tooltip - Entire course name should appear on tooltip Should work in all browsers now Change-Id: If63c2765a781dd70d695e491466ec96451552542 Reviewed-on: https://gerrit.instructure.com/80113 Reviewed-by: Pam Hiett <phiett@instructure.com> Tested-by: Jenkins QA-Review: Myller de Araujo <myller@instructure.com> Product-Review: Colleen Palmer <colleen@instructure.com>
1 parent 2623122 commit 3cef08d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/views/shared/_current_enrollment.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
<% if use_new_styles? && course_color.present? %>
4646
<span aria-hidden="true" class="course-color-block" style="<%= "color: #{course_color};" %>" ></span>
4747
<% end %>
48-
<% if show_link %><a href="<%= course_path(current_enrollment.course_id) %>"><% end %>
48+
<% if show_link %><a href="<%= course_path(current_enrollment.course_id) %>" title="<%= current_enrollment.course.name %>"><% end %>
4949
<span class="name">
5050
<%= current_enrollment.course.name %>
5151
</span>

0 commit comments

Comments
 (0)