|
|
@ -12,7 +12,7 @@ |
|
|
|
<% unless @entries.empty? %> |
|
|
|
<% unless @entries.empty? %> |
|
|
|
<table class="list"> |
|
|
|
<table class="list"> |
|
|
|
<thead> |
|
|
|
<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('user_id', :caption => l(:label_member)) %> |
|
|
|
<%= sort_header_tag('activity_id', :caption => l(:label_activity)) %> |
|
|
|
<%= sort_header_tag('activity_id', :caption => l(:label_activity)) %> |
|
|
|
<%= sort_header_tag('issue_id', :caption => l(:label_issue)) %> |
|
|
|
<%= 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"><%= format_date(entry.spent_on) %></td> |
|
|
|
<td align="center"><%= entry.user.name %></td> |
|
|
|
<td align="center"><%= entry.user.name %></td> |
|
|
|
<td align="center"><%= entry.activity.name %></td> |
|
|
|
<td align="center"><%= entry.activity.name %></td> |
|
|
|
<td align="center"> |
|
|
|
<td> |
|
|
|
<% if entry.issue %> |
|
|
|
<% if entry.issue %> |
|
|
|
<div class="tooltip"> |
|
|
|
<div class="tooltip"> |
|
|
|
<%= link_to_issue entry.issue %> |
|
|
|
<%= link_to_issue entry.issue %>: <%= h(truncate(entry.issue.subject, 50)) %> |
|
|
|
<span class="tip"> |
|
|
|
<span class="tip"> |
|
|
|
<%= render_issue_tooltip entry.issue %> |
|
|
|
<%= render_issue_tooltip entry.issue %> |
|
|
|
</span> |
|
|
|
</span> |
|
|
|