diff options
Diffstat (limited to 'app/views/issues/show.rhtml')
-rw-r--r-- | app/views/issues/show.rhtml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/app/views/issues/show.rhtml b/app/views/issues/show.rhtml index b71a02ee7..df8fc372a 100644 --- a/app/views/issues/show.rhtml +++ b/app/views/issues/show.rhtml @@ -78,6 +78,14 @@ end %> </div> <% end %> +<% if User.current.allowed_to?(:add_issue_watchers, @project) || + (@issue.watchers.any? && User.current.allowed_to?(:view_issue_watchers, @project)) %> +<hr /> +<div id="watchers"> +<%= render :partial => 'watchers/watchers', :locals => {:watched => @issue} %> +</div> +<% end %> + </div> <% if @issue.changesets.any? && User.current.allowed_to?(:view_changesets, @project) %> |