1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-01-23 23:57:15 +00:00
redmine/app/views/watchers/_watchers.html.erb
Jean-Philippe Lang 9c2545e28d Use named route.
git-svn-id: http://svn.redmine.org/redmine/trunk@15312 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-04-09 07:40:16 +00:00

13 lines
395 B
Plaintext

<% if User.current.allowed_to?(:add_issue_watchers, watched.project) %>
<div class="contextual">
<%= link_to l(:button_add),
new_watchers_path(:object_type => watched.class.name.underscore, :object_id => watched),
:remote => true,
:method => 'get' %>
</div>
<% end %>
<h3><%= l(:label_issue_watchers) %> (<%= watched.watcher_users.size %>)</h3>
<%= watchers_list(watched) %>