socialforge/app/views/watchers/_watchers.html.erb

13 lines
416 B
Plaintext
Raw Normal View History

2013-08-01 10:33:49 +08:00
<% if User.current.allowed_to?(:add_issue_watchers, @project) %>
<div class="contextual">
<%= link_to l(:button_add),
{:controller => 'watchers', :action => 'new', :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) %>