From d81a135704adf2d4e69e6244bd6ca6b53986d1f9 2006-12-26 09:13:03 From: Jean-Philippe Lang Date: 2006-12-26 09:13:03 Subject: [PATCH] href title attribute with full issue subject added git-svn-id: http://redmine.rubyforge.org/svn/trunk@115 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/views/projects/calendar.rhtml b/app/views/projects/calendar.rhtml index 7f7f381..ab26d0b 100644 --- a/app/views/projects/calendar.rhtml +++ b/app/views/projects/calendar.rhtml @@ -53,7 +53,7 @@ while day <= @date_to elsif day == i.due_date image_tag('arrow_to') end %> - <%= link_to "#{i.tracker.name} ##{i.id}", :controller => 'issues', :action => 'show', :id => i %>: <%=h i.subject.sub(/^(.{30}[^\s]*\s).*$/, '\1 (...)') %>
+ <%= link_to "#{i.tracker.name} ##{i.id}", { :controller => 'issues', :action => 'show', :id => i }, :title => "#{i.subject}" %>: <%=h i.subject.sub(/^(.{30}[^\s]*\s).*$/, '\1 (...)') %>
<% end %> <%= '' if day.cwday >= 7 and day!=@date_to %>