summaryrefslogtreecommitdiffstats
path: root/app/views/my/blocks/_timelog.rhtml
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2009-11-14 12:53:50 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2009-11-14 12:53:50 +0000
commitcbeeaa4d4d47b5118e6de21d180f221e04c0a9d5 (patch)
tree4e41511325f64568164b3cd6be0908d2e1552d72 /app/views/my/blocks/_timelog.rhtml
parentdfd02040521b84c64e9aa5d7b70ccfa427ffe841 (diff)
downloadredmine-cbeeaa4d4d47b5118e6de21d180f221e04c0a9d5.tar.gz
redmine-cbeeaa4d4d47b5118e6de21d180f221e04c0a9d5.zip
Refactoring ApplicationHelper#link_to_issue.
Now displays issue subject by default. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3040 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/my/blocks/_timelog.rhtml')
-rw-r--r--app/views/my/blocks/_timelog.rhtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/my/blocks/_timelog.rhtml b/app/views/my/blocks/_timelog.rhtml
index ca66f7ee4..95679b207 100644
--- a/app/views/my/blocks/_timelog.rhtml
+++ b/app/views/my/blocks/_timelog.rhtml
@@ -31,7 +31,7 @@ entries_by_day = entries.group_by(&:spent_on)
<% entries_by_day[day].each do |entry| -%>
<tr class="time-entry" style="border-bottom: 1px solid #f5f5f5;">
<td class="activity"><%=h entry.activity %></td>
- <td class="subject"><%=h entry.project %> <%= ' - ' + link_to_issue(entry.issue, :title => h("#{entry.issue.subject} (#{entry.issue.status})")) if entry.issue %></td>
+ <td class="subject"><%=h entry.project %> <%= ' - ' + link_to_issue(entry.issue, :truncate => 50) if entry.issue %></td>
<td class="comments"><%=h entry.comments %></td>
<td class="hours"><%= html_hours("%.2f" % entry.hours) %></td>
<td align="center">