From 0b080df59ec450b81792b2b04b4aee37faa787d2 Mon Sep 17 00:00:00 2001 From: Fabrice Bellingard Date: Tue, 4 Dec 2012 11:57:03 +0100 Subject: [PATCH] SONAR-3972 Move the "Manage dashboards" link back to the right side --- .../webapp/WEB-INF/app/views/dashboard/_header.html.erb | 9 ++++++--- .../webapp/WEB-INF/app/views/layouts/_layout.html.erb | 6 ------ 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/dashboard/_header.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/dashboard/_header.html.erb index c23bf7917d4..b520274453c 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/dashboard/_header.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/dashboard/_header.html.erb @@ -1,12 +1,15 @@ <% if logged_in? || @snapshot %>
- <% if logged_in? && @dashboard.editable_by?(current_user) %> + <% if logged_in? %> <% end %> diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/layouts/_layout.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/layouts/_layout.html.erb index d0026cd504b..ced69136e08 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/layouts/_layout.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/layouts/_layout.html.erb @@ -52,8 +52,6 @@ <%= active_dashboard.dashboard.name(true) -%> <% end %> -
  • - <%= message('dashboard.manage_dashboards') -%>
  • <% controller.java_facade.getPages(Navigation::SECTION_HOME, nil, nil, nil, nil).each do |page| page_url = (page.isController() ? page.getId() : "/plugins/home/#{page.getId()}") @@ -79,12 +77,8 @@ "><%= active_dashboard.dashboard.name(true) -%> <% end %> -
  • - <%= message('dashboard.manage_dashboards') -%>
  • -
  • -
  • <%= message('components.page') -%>
  • -- 2.39.5