diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2016-11-24 10:07:02 +0100 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2016-11-24 16:22:27 +0100 |
commit | ee2a7584861919027e927bf6a9fee3aea192f601 (patch) | |
tree | ae2c7ed581b60f4a6f5e2e0c93421b8c6db8d0d2 /server/sonar-web/src/main/js | |
parent | 853e2abb08ba60e3bc425788dbc814b8d823f48f (diff) | |
download | sonarqube-ee2a7584861919027e927bf6a9fee3aea192f601.tar.gz sonarqube-ee2a7584861919027e927bf6a9fee3aea192f601.zip |
SONAR-8382 move "About" link to the footer and help window
Diffstat (limited to 'server/sonar-web/src/main/js')
-rw-r--r-- | server/sonar-web/src/main/js/main/nav/global/global-nav-menu.js | 11 | ||||
-rw-r--r-- | server/sonar-web/src/main/js/main/nav/templates/nav-shortcuts-help.hbs | 3 |
2 files changed, 2 insertions, 12 deletions
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 a002d6422fa..7d25c1b1a25 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,15 +29,6 @@ export default React.createClass({ return { globalDashboards: [], globalPages: [] }; }, - renderAbout () { - const url = window.baseUrl + '/about'; - return ( - <li className={this.activeLink('/about')}> - <a href={url}>About</a> - </li> - ); - }, - renderProjects () { const controller = window.SS.user ? '/projects/favorite' : '/projects'; const url = window.baseUrl + controller; @@ -127,14 +118,12 @@ export default React.createClass({ render () { return ( <ul className="nav navbar-nav"> - {!window.SS.user && this.renderAbout()} {this.renderProjects()} {this.renderIssuesLink()} {this.renderRulesLink()} {this.renderProfilesLink()} {this.renderQualityGatesLink()} {this.renderAdministrationLink()} - {!!window.SS.user && this.renderAbout()} {this.renderMore()} </ul> ); 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 22356c886e4..ae4f9967233 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,8 @@ <a href="http://www.sonarqube.org/documentation" target="sonar_doc">Documentation</a> - <a href="http://www.sonarqube.org/support" target="support">Get Support</a> - <a href="http://redirect.sonarsource.com/doc/plugin-library.html" target="plugins">Plugins</a> - - <a href="{{link '/web_api'}}">Web API</a> + <a href="{{link '/web_api'}}">Web API</a> - + <a href="{{link '/about'}}">About</a> </div> <h2 class="spacer-top spacer-bottom">{{t 'shortcuts.modal_title'}}</h2> |