changeset 1350:bb6e7589720e luisf

Removes duplicate code introduced when integrating with redmine-2.2
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Fri, 12 Jul 2013 12:33:21 +0100
parents 4ff3f8b81ab3
children 6e033c113bd4
files app/views/issues/_form.html.erb
diffstat 1 files changed, 0 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/app/views/issues/_form.html.erb	Thu Jul 11 17:32:32 2013 +0100
+++ b/app/views/issues/_form.html.erb	Fri Jul 12 12:33:21 2013 +0100
@@ -43,15 +43,3 @@
 
 <%= call_hook(:view_issues_form_details_bottom, { :issue => @issue, :form => f }) %>
 <% end %>
-
-<% if @issue.new_record? && User.current.allowed_to?(:add_issue_watchers, @project) -%>
-<p id="watchers_form"><label><%= l(:label_issue_watchers) %></label>
-<% @issue.project.users.sort.each do |user| -%>
-<label class="floating"><%= check_box_tag 'issue[watcher_user_ids][]', user.id, !!(@issue.watched_by?(user) or user == User.current) %> <%=h user %></label>
-<% end -%>
-</p>
-<% end %>
-
-<%= call_hook(:view_issues_form_details_bottom, { :issue => @issue, :form => f }) %>
-
-<%= wikitoolbar_for 'issue_description' %>