href title attribute with full issue subject added

git-svn-id: http://redmine.rubyforge.org/svn/trunk@115 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2006-12-26 09:13:03 +00:00
parent 1a90fbee8b
commit d81a135704
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ while day <= @date_to
elsif day == i.due_date
image_tag('arrow_to')
end %>
<small><%= link_to "#{i.tracker.name} ##{i.id}", :controller => 'issues', :action => 'show', :id => i %>: <%=h i.subject.sub(/^(.{30}[^\s]*\s).*$/, '\1 (...)') %></small><br />
<small><%= link_to "#{i.tracker.name} ##{i.id}", { :controller => 'issues', :action => 'show', :id => i }, :title => "#{i.subject}" %>: <%=h i.subject.sub(/^(.{30}[^\s]*\s).*$/, '\1 (...)') %></small><br />
<% end %>
</td>
<%= '</tr><tr height="100">' if day.cwday >= 7 and day!=@date_to %>