From: Fabrice Bellingard Date: Tue, 4 Dec 2012 10:57:03 +0000 (+0100) Subject: SONAR-3972 Move the "Manage dashboards" link back to the right side X-Git-Tag: 3.4~180 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=0b080df59ec450b81792b2b04b4aee37faa787d2;p=sonarqube.git SONAR-3972 Move the "Manage dashboards" link back to the right side --- 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') -%>