diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-07-16 19:10:29 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-07-16 19:10:29 +0000 |
commit | 83385cbca8a26b43ecd865b261ec0621046aacc9 (patch) | |
tree | df89c334f0f75719fa13b370fbcf532c1d2c8c9e | |
parent | 7c6f191cf53c3b1b639f7a6dbd3d3cf3e6b1a2a5 (diff) | |
download | redmine-83385cbca8a26b43ecd865b261ec0621046aacc9.tar.gz redmine-83385cbca8a26b43ecd865b261ec0621046aacc9.zip |
Adds timelog link to the issue context menu (#1645).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1672 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | app/views/issues/context_menu.rhtml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/issues/context_menu.rhtml b/app/views/issues/context_menu.rhtml index 69a5ec02a..af56782e8 100644 --- a/app/views/issues/context_menu.rhtml +++ b/app/views/issues/context_menu.rhtml @@ -53,6 +53,10 @@ <% end -%> </ul> </li> + <% if @can[:log_time] -%> + <li><%= context_menu_link l(:button_log_time), {:controller => 'timelog', :action => 'edit', :issue_id => @issue}, + :class => 'icon-time' %></li> + <% end %> <li><%= context_menu_link l(:button_copy), {:controller => 'issues', :action => 'new', :project_id => @project, :copy_from => @issue}, :class => 'icon-copy', :disabled => !@can[:copy] %></li> <% else -%> |