_watchers.html.erb
12 lines
| 423 B
| text/plain
|
TextLexer
|
r13856 | <% if User.current.allowed_to?(:add_issue_watchers, watched.project) %> | ||
|
r1711 | <div class="contextual"> | ||
|
r9841 | <%= link_to l(:button_add), | ||
{:controller => 'watchers', :action => 'new', :object_type => watched.class.name.underscore, :object_id => watched}, | ||||
:remote => true, | ||||
:method => 'get' %> | ||||
|
r1711 | </div> | ||
|
r8472 | <% end %> | ||
|
r1711 | |||
|
r3465 | <h3><%= l(:label_issue_watchers) %> (<%= watched.watcher_users.size %>)</h3> | ||
|
r1711 | |||
|
r3465 | <%= watchers_list(watched) %> | ||