Index: app/views/common/_calendar.html.erb =================================================================== --- app/views/common/_calendar.html.erb (revision 18543) +++ app/views/common/_calendar.html.erb (working copy) @@ -13,7 +13,7 @@

<%= day.day %>

<% calendar.events_on(day).each do |i| %> <% if i.is_a? Issue %> -
+
<%= "#{i.project} -" unless @project && @project == i.project %> <%= link_to_issue i, :truncate => 30 %> <%= render_issue_tooltip i %> Index: lib/redmine/helpers/gantt.rb =================================================================== --- lib/redmine/helpers/gantt.rb (revision 18543) +++ lib/redmine/helpers/gantt.rb (working copy) @@ -926,6 +926,7 @@ style << "width:#{coords[:bar_end] - coords[:bar_start]}px;" style << "height:12px;" output << view.content_tag(:div, s.html_safe, + :title => "", :style => style, :class => "tooltip hascontextmenu", :data => data_options) Index: public/javascripts/application.js =================================================================== --- public/javascripts/application.js (revision 18543) +++ public/javascripts/application.js (working copy) @@ -1008,6 +1008,19 @@ }); }); +$(function () { + $('.tooltip').tooltip({ + position: { my: "left top", at: "left bottom" }, + open: function (event, ui) { + ui.tooltip.mouseover(function(){ui.tooltip.stop().animate({opacity:'100'})}) + ui.tooltip.mouseout(function(){ui.tooltip.stop().hide("fade")}) + }, + content: function() { + return $(this).children(".tip").html(); + } + }); +}); + function inlineAutoComplete(element) { 'use strict'; // do not attach if Tribute is already initialized Index: public/stylesheets/application.css =================================================================== --- public/stylesheets/application.css (revision 18543) +++ public/stylesheets/application.css (working copy) @@ -1040,27 +1040,9 @@ p.cal.legend span {display:block;} /***** Tooltips ******/ -.tooltip{position:relative;z-index:24;} -.tooltip:hover{z-index:25;color:#000;} -.tooltip span.tip{display: none; text-align:left;} -.tooltip span.tip a { color: #169 !important; } +.tooltip{z-index:24;} +.tooltip span.tip{display: none;} -.tooltip span.tip img.gravatar { - float: none; - margin: 0; -} - -div.tooltip:hover span.tip{ -display:block; -position:absolute; -top:12px; width:270px; -border:1px solid #555; -background-color:#fff; -padding: 4px; -font-size: 0.8em; -color:#505050; -} - table.cal div.tooltip:hover span.tip { top: 25px; } @@ -1567,11 +1549,6 @@ border-radius: 20%; } -div.issue img.gravatar { - float: left; - margin: 0 12px 6px 0; -} - div.gravatar-with-child { position: relative; }