summaryrefslogtreecommitdiffstats
path: root/app/views/timelog
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-10-03 17:20:04 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-10-03 17:20:04 +0000
commit20b4e226fe06db9132eccafd9f3c2c008ec99c09 (patch)
treebe316ade1b637fe971324dae50152c61ef5fd507 /app/views/timelog
parentc3e3a1891b721ae98d937cb060f109df8dc54346 (diff)
downloadredmine-20b4e226fe06db9132eccafd9f3c2c008ec99c09.tar.gz
redmine-20b4e226fe06db9132eccafd9f3c2c008ec99c09.zip
Performance improvement on calendar and gantt (about 45% on gantt for large number of issues).
Partial issues/_tooltip is replaced by an helper and some translated strings are now cached. git-svn-id: http://redmine.rubyforge.org/svn/trunk@794 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/timelog')
-rw-r--r--app/views/timelog/details.rhtml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/timelog/details.rhtml b/app/views/timelog/details.rhtml
index 5683a2f3f..ac647c3a5 100644
--- a/app/views/timelog/details.rhtml
+++ b/app/views/timelog/details.rhtml
@@ -29,9 +29,9 @@
<td align="center">
<% if entry.issue %>
<div class="tooltip">
- <%= link_to "#{entry.issue.tracker.name} ##{entry.issue.id}", {:action => 'details', :issue_id => entry.issue } %>
+ <%= link_to_issue entry.issue %>
<span class="tip">
- <%= render :partial => "issues/tooltip", :locals => { :issue => entry.issue }%>
+ <%= render_issue_tooltip entry.issue %>
</span>
</div>
<% end %>