summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2017-03-15 18:01:19 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2017-03-15 18:01:19 +0000
commitcb35ff95c5e2316d826c0817ba7f7aac43443abd (patch)
treeb8b1d4b7556ddf7cc31da4132a488555a982a3a6 /app
parentf828a985ae49d2de6aa6aef1705778cfd3d7b433 (diff)
downloadredmine-cb35ff95c5e2316d826c0817ba7f7aac43443abd.tar.gz
redmine-cb35ff95c5e2316d826c0817ba7f7aac43443abd.zip
Move the "Log time" link on My page.
git-svn-id: http://svn.redmine.org/redmine/trunk@16407 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r--app/views/my/blocks/_timelog.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/my/blocks/_timelog.html.erb b/app/views/my/blocks/_timelog.html.erb
index e5e36612d..83716d35e 100644
--- a/app/views/my/blocks/_timelog.html.erb
+++ b/app/views/my/blocks/_timelog.html.erb
@@ -4,13 +4,13 @@ entries_by_day = entries.group_by(&:spent_on)
%>
<div class="contextual">
- <%= link_to l(:button_log_time), new_time_entry_path, :class => "icon icon-add" if User.current.allowed_to?(:log_time, nil, :global => true) %>
<%= link_to_function l(:label_options), "$('#timelog-settings').toggle();", :class => 'icon-only icon-settings', :title => l(:label_options) %>
</div>
<h3>
<%= link_to l(:label_spent_time), time_entries_path(:user_id => 'me') %>
(<%= l(:label_last_n_days, days) %>: <%= l_hours_short entries.sum(&:hours) %>)
+ <%= link_to l(:button_log_time), new_time_entry_path, :class => "icon-only icon-add", :title => l(:button_log_time) if User.current.allowed_to?(:log_time, nil, :global => true) %>
</h3>