Mercurial > hg > soundsoftware-site
view app/views/watchers/_watchers.html.erb @ 1561:6074fffd8a1d feature_1136
No, a bare repo is better
author | Chris Cannam |
---|---|
date | Thu, 14 Jan 2016 12:03:06 +0000 |
parents | 433d4f72a19b |
children |
line wrap: on
line source
<% 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) %>