From 004582cf071ce1b2eb4a131a9f29104e13b29944 Mon Sep 17 00:00:00 2001 From: Fabrice Bellingard Date: Thu, 19 May 2011 17:02:30 +0200 Subject: [PATCH] SONAR-2426 Allow to directly assign a violation to users Fix "Assignee" label alignment (noticed on Chrome). --- .../app/views/reviews/_violation_comment_form.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/reviews/_violation_comment_form.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/reviews/_violation_comment_form.html.erb index c178620b5ba..7c6a8d24352 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/reviews/_violation_comment_form.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/reviews/_violation_comment_form.html.erb @@ -17,8 +17,8 @@ <%= link_to_remote 'Cancel', :url => {:action => 'display_violation', :id => params[:id]}, :update => 'vId' + params[:id] -%> <% if @violation.review.nil? || @violation.review.comments.size==0 %> -   - Assignee: +    + Assignee: <%= select_tag "assignee_id", options_for_select(@user_options, current_user.id.to_s) %> <% end %> -- 2.39.5