summaryrefslogtreecommitdiffstats
path: root/app/views/timelog
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2008-02-12 21:43:54 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2008-02-12 21:43:54 +0000
commit4dc7f662e3d93f93d8164c1450a9c4a49bc15503 (patch)
tree9a8b792f302b1401bd71c0ea20ea1da93565da71 /app/views/timelog
parenta2626bbccf876fa290d0ee2b3c84168e6eb728da (diff)
downloadredmine-4dc7f662e3d93f93d8164c1450a9c4a49bc15503.tar.gz
redmine-4dc7f662e3d93f93d8164c1450a9c4a49bc15503.zip
Added issue subject to the time entries view and subject + tracker to the csv export (#616). Default order on date column set to desc.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1142 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/timelog')
-rw-r--r--app/views/timelog/details.rhtml6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/timelog/details.rhtml b/app/views/timelog/details.rhtml
index ac647c3a5..6f119206e 100644
--- a/app/views/timelog/details.rhtml
+++ b/app/views/timelog/details.rhtml
@@ -12,7 +12,7 @@
<% unless @entries.empty? %>
<table class="list">
<thead>
-<%= sort_header_tag('spent_on', :caption => l(:label_date)) %>
+<%= sort_header_tag('spent_on', :caption => l(:label_date), :default_order => 'desc') %>
<%= sort_header_tag('user_id', :caption => l(:label_member)) %>
<%= sort_header_tag('activity_id', :caption => l(:label_activity)) %>
<%= sort_header_tag('issue_id', :caption => l(:label_issue)) %>
@@ -26,10 +26,10 @@
<td align="center"><%= format_date(entry.spent_on) %></td>
<td align="center"><%= entry.user.name %></td>
<td align="center"><%= entry.activity.name %></td>
-<td align="center">
+<td>
<% if entry.issue %>
<div class="tooltip">
- <%= link_to_issue entry.issue %>
+ <%= link_to_issue entry.issue %>: <%= h(truncate(entry.issue.subject, 50)) %>
<span class="tip">
<%= render_issue_tooltip entry.issue %>
</span>