From a17661e8d80d042da4c1ac0eed218b979e3fbd46 Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Mon, 2 Apr 2018 01:42:01 +0000 Subject: Use button as additional option for contextmenu (#26655). Patch by Felix Gliesche. git-svn-id: http://svn.redmine.org/redmine/trunk@17252 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/my/blocks/_timelog.html.erb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'app/views/my/blocks/_timelog.html.erb') diff --git a/app/views/my/blocks/_timelog.html.erb b/app/views/my/blocks/_timelog.html.erb index f96ee6c2e..7354c757d 100644 --- a/app/views/my/blocks/_timelog.html.erb +++ b/app/views/my/blocks/_timelog.html.erb @@ -35,6 +35,7 @@ <%= l(:label_project) %> <%= l(:field_comments) %> <%= l(:field_hours) %> + <% entries_by_day.keys.sort.reverse_each do |day| %> @@ -42,6 +43,7 @@ <%= day == User.current.today ? l(:label_today).titleize : format_date(day) %> <%= html_hours(format_hours(entries_by_day[day].sum(&:hours))) %> + <% entries_by_day[day].each do |entry| -%> @@ -52,6 +54,7 @@ <%= entry.project %> <%= h(' - ') + link_to_issue(entry.issue, :truncate => 50) if entry.issue %> <%= entry.comments %> <%= html_hours(format_hours(entry.hours)) %> + <%= link_to_context_menu %> <% end -%> <% end -%> -- cgit v1.2.3