From 1d414016d33384d4346b2464db3f1a32d22fa4aa Mon Sep 17 00:00:00 2001 From: simonbrandhof Date: Wed, 23 Mar 2011 14:41:07 +0100 Subject: [PATCH] Display resource viewers for projects and packages too --- .../webapp/WEB-INF/app/views/drilldown/_footer.html.erb | 8 +++++++- .../main/webapp/WEB-INF/app/views/resource/_tabs.html.erb | 6 +++--- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/drilldown/_footer.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/drilldown/_footer.html.erb index d0854f7855d..435c2c67952 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/drilldown/_footer.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/drilldown/_footer.html.erb @@ -1 +1,7 @@ -
\ No newline at end of file +
+ +<% if @drilldown.highlighted_resource %> + +<% end %> \ No newline at end of file diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/resource/_tabs.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/resource/_tabs.html.erb index a2d0beedaa4..37b30e047e5 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/resource/_tabs.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/resource/_tabs.html.erb @@ -12,7 +12,7 @@ first=true if @snapshot.source %> -
  • Raw
  • +
  • Raw
  • <% first=false end if request.xhr? %> @@ -22,12 +22,12 @@