From: Stas Vilchik Date: Wed, 16 Nov 2016 14:29:49 +0000 (+0100) Subject: SONAR-8382 move About link to the top nav X-Git-Tag: 6.2-RC1~54 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=78f4c40772869e8864699e7fa49ce52b50e322e0;p=sonarqube.git SONAR-8382 move About link to the top nav --- diff --git a/server/sonar-web/src/main/js/main/nav/global/global-nav-menu.js b/server/sonar-web/src/main/js/main/nav/global/global-nav-menu.js index 7d25c1b1a25..a002d6422fa 100644 --- a/server/sonar-web/src/main/js/main/nav/global/global-nav-menu.js +++ b/server/sonar-web/src/main/js/main/nav/global/global-nav-menu.js @@ -29,6 +29,15 @@ export default React.createClass({ return { globalDashboards: [], globalPages: [] }; }, + renderAbout () { + const url = window.baseUrl + '/about'; + return ( +
  • + About +
  • + ); + }, + renderProjects () { const controller = window.SS.user ? '/projects/favorite' : '/projects'; const url = window.baseUrl + controller; @@ -118,12 +127,14 @@ export default React.createClass({ render () { return ( ); diff --git a/server/sonar-web/src/main/js/main/nav/templates/nav-shortcuts-help.hbs b/server/sonar-web/src/main/js/main/nav/templates/nav-shortcuts-help.hbs index bb29bf9597b..22356c886e4 100644 --- a/server/sonar-web/src/main/js/main/nav/templates/nav-shortcuts-help.hbs +++ b/server/sonar-web/src/main/js/main/nav/templates/nav-shortcuts-help.hbs @@ -8,7 +8,6 @@ Documentation - Get Support - Plugins - - About - Web API diff --git a/server/sonar-web/src/main/webapp/WEB-INF/app/views/layouts/_layout.html.erb b/server/sonar-web/src/main/webapp/WEB-INF/app/views/layouts/_layout.html.erb index 15022ecb49e..1a2672d9fec 100644 --- a/server/sonar-web/src/main/webapp/WEB-INF/app/views/layouts/_layout.html.erb +++ b/server/sonar-web/src/main/webapp/WEB-INF/app/views/layouts/_layout.html.erb @@ -56,7 +56,6 @@ Documentation - Get Support - Plugins - - About - Web API