##// END OF EJS Templates
Ability to add non-member watchers on issue creation (#5159)....
Ability to add non-member watchers on issue creation (#5159). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9254 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r8473:c23e497c424a
r9134:fae5250e5250
Show More
_watchers.html.erb
15 lines | 641 B | text/plain | TextLexer
<% if User.current.allowed_to?(:add_issue_watchers, @project) %>
<div class="contextual">
<%= link_to_remote l(:button_add),
:url => {:controller => 'watchers',
:action => 'new',
:object_type => watched.class.name.underscore,
:object_id => watched},
:method => 'get',
:before => "if ($('ajax-modal').hasClassName('new-watcher')) {showModal('ajax-modal'); return false;}" %>
</div>
<% end %>
<h3><%= l(:label_issue_watchers) %> (<%= watched.watcher_users.size %>)</h3>
<%= watchers_list(watched) %>