From: Fabrice Bellingard Date: Mon, 3 Dec 2012 17:22:46 +0000 (+0100) Subject: SONAR-3972 Move project admin entries to a popup-menu on the top-right X-Git-Tag: 3.4~182 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=cabadc2d05b0670a8810452fba331c414b807412;p=sonarqube.git SONAR-3972 Move project admin entries to a popup-menu on the top-right --- diff --git a/plugins/sonar-core-plugin/src/main/resources/org/sonar/l10n/core.properties b/plugins/sonar-core-plugin/src/main/resources/org/sonar/l10n/core.properties index 2a3a3479df7..eb7bc0a590e 100644 --- a/plugins/sonar-core-plugin/src/main/resources/org/sonar/l10n/core.properties +++ b/plugins/sonar-core-plugin/src/main/resources/org/sonar/l10n/core.properties @@ -298,6 +298,7 @@ layout.evaluation=Embedded database should be used for evaluation purpose only layout.ie6_warn=Your web browser is outdated. This website may not display correctly. layout.dashboards=Dashboards layout.reviews=Reviews +layout.configuration=Configuration layout.user_panel.my_profile=My profile layout.user_panel.recent_history.title=Recent history layout.user_panel.me=Me diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/layouts/_breadcrumb.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/layouts/_breadcrumb.html.erb index bd1ffc42a10..b80b9dfb1e6 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/layouts/_breadcrumb.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/layouts/_breadcrumb.html.erb @@ -1,10 +1,17 @@ +<% + displayed_resource = @resource || @project +%> + <% if @breadcrumbs %>
-<% elsif @resource || @project - displayed_resource = @resource || @project -%> +<% elsif displayed_resource %>