diff options
author | Go MAEDA <maeda@farend.jp> | 2018-04-02 01:42:01 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2018-04-02 01:42:01 +0000 |
commit | a17661e8d80d042da4c1ac0eed218b979e3fbd46 (patch) | |
tree | 199c0992549f89fcfe4ef34dfa867f48cade94fa /app/views/my/blocks/_timelog.html.erb | |
parent | ed48b0708a7e0753b2e1f7916775069254c019b2 (diff) | |
download | redmine-a17661e8d80d042da4c1ac0eed218b979e3fbd46.tar.gz redmine-a17661e8d80d042da4c1ac0eed218b979e3fbd46.zip |
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
Diffstat (limited to 'app/views/my/blocks/_timelog.html.erb')
-rw-r--r-- | app/views/my/blocks/_timelog.html.erb | 3 |
1 files changed, 3 insertions, 0 deletions
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 @@ <th><%= l(:label_project) %></th> <th><%= l(:field_comments) %></th> <th><%= l(:field_hours) %></th> +<th></th> </tr></thead> <tbody> <% entries_by_day.keys.sort.reverse_each do |day| %> @@ -42,6 +43,7 @@ <td><strong><%= day == User.current.today ? l(:label_today).titleize : format_date(day) %></strong></td> <td colspan="2"></td> <td class="hours"><em><%= html_hours(format_hours(entries_by_day[day].sum(&:hours))) %></em></td> + <td></td> </tr> <% entries_by_day[day].each do |entry| -%> <tr id="time-entry-<%= entry.id %>" class="time-entry hascontextmenu"> @@ -52,6 +54,7 @@ <td class="subject"><%= entry.project %> <%= h(' - ') + link_to_issue(entry.issue, :truncate => 50) if entry.issue %></td> <td class="comments"><%= entry.comments %></td> <td class="hours"><%= html_hours(format_hours(entry.hours)) %></td> + <td class="buttons"><%= link_to_context_menu %></td> </tr> <% end -%> <% end -%> |