fix points tooltip not showing up for students; fixes #4493

Change-Id: I45fc57d60507b1a5407c231fc14fc4944d94cae4
Reviewed-on: https://gerrit.instructure.com/3478
Reviewed-by: Brian Whitmer <brian@instructure.com>
Tested-by: Hudson <hudson@instructure.com>
This commit is contained in:
Zach Wily 2011-05-04 12:59:21 -06:00
parent 9545c16f0f
commit c03ddcebec
1 changed files with 5 additions and 5 deletions

View File

@ -96,9 +96,9 @@
</td>
<td class="assignment_score" title="<%= "Click to test a different score" unless (!editable || assignment.special_class) %>">
<div style="position: relative; height: 100%;" class="score_holder">
<% unless (!editable || assignment.special_class) %>
<span class="tooltip">
<span class="tooltip_wrap right">
<span class="tooltip">
<span class="tooltip_wrap right">
<% if editable || assignment.special_class %>
<span class="tooltip_text score_teaser">
<% if assignment.special_class %>
Percent
@ -106,8 +106,8 @@
Click to test a different score
<% end %>
</span>
</span>
<% end %>
<% end %>
</span>
<span class="grade">
<%= render :partial => 'submission_score', :object => submission, :locals => {:student_score => !can_do(@context, @current_user, :manage_grades)} %>
</span>