aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-server
diff options
context:
space:
mode:
authorFabrice Bellingard <fabrice.bellingard@sonarsource.com>2012-12-17 19:00:31 +0100
committerFabrice Bellingard <fabrice.bellingard@sonarsource.com>2012-12-17 19:02:23 +0100
commit3974f15e34b7d5708cd1b680a3edacc2d2ed01a8 (patch)
treeb2e5f0daf17badfaeee974ee989b1a84413c8dc1 /sonar-server
parent6dc46e963eade7e92f8c692fa8bb65f700269b70 (diff)
downloadsonarqube-3974f15e34b7d5708cd1b680a3edacc2d2ed01a8.tar.gz
sonarqube-3974f15e34b7d5708cd1b680a3edacc2d2ed01a8.zip
Move "Settings" up to the top of the project "Configuration" menu list
Diffstat (limited to 'sonar-server')
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/views/layouts/_menu_resource_settings.html.erb6
1 files changed, 3 insertions, 3 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/layouts/_menu_resource_settings.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/layouts/_menu_resource_settings.html.erb
index 049c1acdfc3..46185bf8421 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/views/layouts/_menu_resource_settings.html.erb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/views/layouts/_menu_resource_settings.html.erb
@@ -3,6 +3,9 @@
<div id="project-settings-menu" class="dropdown-menu" style="display: none">
<ul>
+ <% if (@project.project? || @project.module?) %>
+ <li><a href="<%= ApplicationController.root_context -%>/project/settings/<%= @project.id -%>"><%= message('project_settings.page') -%></a></li>
+ <% end %>
<% if (@project.project?) %>
<li><a href="<%= ApplicationController.root_context -%>/project/profile/<%= @project.id -%>"><%= message('project_quality_profiles.page') -%></a></li>
<% end %>
@@ -10,9 +13,6 @@
<% if (@project.project?) %>
<li><a href="<%= ApplicationController.root_context -%>/action_plans/index/<%= @project.id -%>"><%= message('action_plans.page') -%></a></li>
<% end %>
- <% if (@project.project? || @project.module?) %>
- <li><a href="<%= ApplicationController.root_context -%>/project/settings/<%= @project.id -%>"><%= message('project_settings.page') -%></a></li>
- <% end %>
<% if (@project.project?) %>
<li><a href="<%= ApplicationController.root_context -%>/project/links/<%= @project.id -%>"><%= message('project_links.page') -%></a></li>
<% end %>