Chris@1295: <% if User.current.allowed_to?(:add_issue_watchers, @project) %>
Chris@1295:
Chris@1295: <%= link_to l(:button_add),
Chris@1295: {:controller => 'watchers', :action => 'new', :object_type => watched.class.name.underscore, :object_id => watched},
Chris@1295: :remote => true,
Chris@1295: :method => 'get' %>
Chris@1295:
Chris@1295: <% end %>
Chris@1295:
Chris@1295: <%= l(:label_issue_watchers) %> (<%= watched.watcher_users.size %>)
Chris@1295:
Chris@1295: <%= watchers_list(watched) %>