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;
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>
);
<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 '/about'}}">About</a> -
<a href="{{link '/web_api'}}">Web API</a>
</div>
<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="<%= ApplicationController.root_context -%>/about">About</a> -
<a href="<%= ApplicationController.root_context -%>/web_api">Web API</a>
</div>
<!--[if lte IE 8 ]><p class="spacer-top alert alert-danger">IE 8 is not supported. Some widgets may not be properly displayed. Please switch to a <a target="_blank" href="http://redirect.sonarsource.com/doc/requirements.html">supported version or another supported browser</a>.</p><!--<![endif]-->