From deb2c19f5add98863fd69930076793b05ca706f4 Mon Sep 17 00:00:00 2001 From: Simon Brandhof Date: Sat, 1 Dec 2012 16:43:57 +0100 Subject: [PATCH] Improve HTML/CSS of page Reviews --- .../app/controllers/reviews_controller.rb | 6 --- .../WEB-INF/app/views/reviews/index.html.erb | 48 ++++++++----------- 2 files changed, 20 insertions(+), 34 deletions(-) diff --git a/sonar-server/src/main/webapp/WEB-INF/app/controllers/reviews_controller.rb b/sonar-server/src/main/webapp/WEB-INF/app/controllers/reviews_controller.rb index a1998eb13e4..166ddff32c5 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/controllers/reviews_controller.rb +++ b/sonar-server/src/main/webapp/WEB-INF/app/controllers/reviews_controller.rb @@ -34,12 +34,6 @@ class ReviewsController < ApplicationController add_breadcrumbs message('sidebar.tools'), {:name => message('sidebar.tools.reviews'), :url => {:controller => 'reviews', :action => 'index'}} end - # Used for the "OLD" permalink "http://localhost:9000/reviews/view/1" - # => Since Sonar 2.13, permalinks are "http://localhost:9000/project_reviews/view/1" and are displayed in the context of the project - def view - redirect_to :controller => 'project_reviews', :action => 'view', :id => params[:id] - end - # GET def screen @violation = RuleFailure.find params[:id] diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/reviews/index.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/reviews/index.html.erb index e1db0ced33d..3b863f0ec2a 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/reviews/index.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/reviews/index.html.erb @@ -1,26 +1,18 @@ <% content_for :style do %> - <% end %>