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
This commit is contained in:
parent
9586269a06
commit
b8eddf2014
|
@ -81,6 +81,9 @@
|
||||||
<li><%= context_menu_link l(:button_log_time), {:controller => 'timelog', :action => 'edit', :issue_id => @issue},
|
<li><%= context_menu_link l(:button_log_time), {:controller => 'timelog', :action => 'edit', :issue_id => @issue},
|
||||||
:class => 'icon-time-add' %></li>
|
:class => 'icon-time-add' %></li>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
<% if User.current.logged? %>
|
||||||
|
<li><%= watcher_link(@issue, User.current) %></li>
|
||||||
|
<% end %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<li><%= context_menu_link l(:button_move), {:controller => 'issues', :action => 'move', :ids => @issues.collect(&:id)},
|
<li><%= context_menu_link l(:button_move), {:controller => 'issues', :action => 'move', :ids => @issues.collect(&:id)},
|
||||||
|
|
Loading…
Reference in New Issue