From: Jean-Philippe Lang Date: Thu, 12 Feb 2009 22:14:22 +0000 (+0000) Subject: Adds watch/unwatch link on the issue context menu (#2730). X-Git-Tag: 0.9.0~677 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=b8eddf201439beb48e95cf252d71489961c7024b;p=redmine.git 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 --- diff --git a/app/views/issues/context_menu.rhtml b/app/views/issues/context_menu.rhtml index 685656816..0d50e5f76 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)},