From: Simon Brandhof Date: Fri, 17 May 2013 14:56:25 +0000 (+0200) Subject: SONAR-4304 remove unused code X-Git-Tag: 3.6~342 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=e7272d71dd934a83470e671ea927185a7976fe09;p=sonarqube.git SONAR-4304 remove unused code --- diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/resource/_create_violation_form.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/resource/_create_violation_form.html.erb deleted file mode 100644 index 2a8d2f5af83..00000000000 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/resource/_create_violation_form.html.erb +++ /dev/null @@ -1,96 +0,0 @@ - - <% for index in 0...(params['gray_colspan'].to_i) %> - - <% end %> - <% for index in 0...(params['white_colspan'].to_i) %> - - <% end %> - -
- <% if @rules.empty? && !has_role?(:admin) %> -
<%= message('code_viewer.create_violation.no_rules') -%> <%= message('cancel') -%>
- <% else %> - <% form_remote_tag :url => "#{ApplicationController.root_context}/resource/create_violation", - :update => {:success => "createViolationCell#{@line}"}, - :html => {:id => "createViolationForm#{@line}"}, - :failure => "$('errorViolationForm#{@line}').update(request.responseText);$('errorViolationForm#{@line}').show()" do -%> - - - - - -
-
- -   - <%= image_tag 'sep12.png' -%> -   - - - <% if is_admin %> - - <% end %> - -   - <%= image_tag 'sep12.png' -%> -   - Assign to: <%= user_autocomplete_field "assignee_login", current_user.login -%> -
- - -
- <% end %> - <% end %> -
- - - \ No newline at end of file