From b8eddf201439beb48e95cf252d71489961c7024b Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Thu, 12 Feb 2009 22:14:22 +0000 Subject: [PATCH] Adds watch/unwatch link on the issue context menu (#2730). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2460 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/issues/context_menu.rhtml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/views/issues/context_menu.rhtml b/app/views/issues/context_menu.rhtml index 68565681..0d50e5f7 100644 --- a/app/views/issues/context_menu.rhtml +++ b/app/views/issues/context_menu.rhtml @@ -81,6 +81,9 @@
  • <%= context_menu_link l(:button_log_time), {:controller => 'timelog', :action => 'edit', :issue_id => @issue}, :class => 'icon-time-add' %>
  • <% end %> + <% if User.current.logged? %> +
  • <%= watcher_link(@issue, User.current) %>
  • + <% end %> <% end %>
  • <%= context_menu_link l(:button_move), {:controller => 'issues', :action => 'move', :ids => @issues.collect(&:id)},