From 52755bc77dcf6fcc3a9b6b254a9d48a9100eb77d Mon Sep 17 00:00:00 2001 From: Fabrice Bellingard Date: Tue, 4 Dec 2012 14:48:30 +0100 Subject: [PATCH] SONAR-3972 Improve rendering and clean CSS files --- .../WEB-INF/app/views/layouts/_menu_projects.html.erb | 10 ++-------- .../webapp/WEB-INF/app/views/resource/index.html.erb | 2 +- sonar-server/src/main/webapp/stylesheets/layout.css | 5 ----- 3 files changed, 3 insertions(+), 14 deletions(-) diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/layouts/_menu_projects.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/layouts/_menu_projects.html.erb index b83744ef8e0..efc3e43f07a 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/layouts/_menu_projects.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/layouts/_menu_projects.html.erb @@ -4,12 +4,6 @@ } - -
  • <%= message('layout.projects') -%> @@ -20,7 +14,7 @@ -
    +
    • Projects
    • Views
    • @@ -36,7 +30,7 @@ $j('#recent-history').detach(); } else { sonarRecentHistory.add('<%= @resource ? @resource.key : "" -%>', - '<%= @resource ? @resource.name(true) : "" -%>', + '<%= @resource ? @resource.name : "" -%>', '<%= @resource ? Api::Utils.java_facade.getResourceType(@resource.qualifier).getIconPath() : "" -%>'); } \ No newline at end of file diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/resource/index.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/resource/index.html.erb index 2b87edeb525..0765a7da521 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/resource/index.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/resource/index.html.erb @@ -1,7 +1,7 @@ diff --git a/sonar-server/src/main/webapp/stylesheets/layout.css b/sonar-server/src/main/webapp/stylesheets/layout.css index 3a40e0977b1..d7181a6ea21 100644 --- a/sonar-server/src/main/webapp/stylesheets/layout.css +++ b/sonar-server/src/main/webapp/stylesheets/layout.css @@ -169,11 +169,6 @@ body, a { right: 20px; } -#recent-history { - border-bottom: 1px solid #ccc; - padding-bottom: 10px; -} - #nonav { text-align: left; margin: 50px 180px 0; -- 2.39.5