diff options
Diffstat (limited to 'server/sonar-web/src/main/js')
4 files changed, 7 insertions, 7 deletions
diff --git a/server/sonar-web/src/main/js/apps/about/components/AboutApp.js b/server/sonar-web/src/main/js/apps/about/components/AboutApp.js index 05c0e1e39e1..f6138107d1d 100644 --- a/server/sonar-web/src/main/js/apps/about/components/AboutApp.js +++ b/server/sonar-web/src/main/js/apps/about/components/AboutApp.js @@ -107,7 +107,7 @@ export default class AboutApp extends React.Component { </div> )} - {signUpAllowed && ( + {signUpAllowed && !isAuthenticated && ( <div className="about-page-sign-up"> No account yet? <a href={window.baseUrl + '/users/new'}>Sign up</a> </div> diff --git a/server/sonar-web/src/main/js/apps/about/components/AboutLeakPeriod.js b/server/sonar-web/src/main/js/apps/about/components/AboutLeakPeriod.js index 47d4a029604..ec0d784447a 100644 --- a/server/sonar-web/src/main/js/apps/about/components/AboutLeakPeriod.js +++ b/server/sonar-web/src/main/js/apps/about/components/AboutLeakPeriod.js @@ -26,8 +26,8 @@ export default class AboutLeakPeriod extends React.Component { return ( <div className="about-page-section"> <div className="about-page-container clearfix"> - <img className="pull-left" src="/images/understanding-leak-period.svg" width={500} height={175} - alt="Understanding the Leak Period"/> + <img className="pull-left" src={window.baseUrl + '/images/understanding-leak-period.svg'} + width={500} height={175} alt="Understanding the Leak Period"/> <h2 className="about-page-header">Understanding the Leak Period</h2> <p className="about-page-text"> The leak metaphor and the default Quality Gate are based on the leak period - the recent period against diff --git a/server/sonar-web/src/main/js/apps/about/components/AboutQualityGates.js b/server/sonar-web/src/main/js/apps/about/components/AboutQualityGates.js index 843403b049d..fdff94ba13a 100644 --- a/server/sonar-web/src/main/js/apps/about/components/AboutQualityGates.js +++ b/server/sonar-web/src/main/js/apps/about/components/AboutQualityGates.js @@ -26,8 +26,8 @@ export default class AboutQualityGates extends React.Component { return ( <div className="about-page-section"> <div className="about-page-container clearfix"> - <img className="pull-right" src="/images/understanding-quality-gates.svg" width={500} height={175} - alt="Understanding Quality Gates"/> + <img className="pull-right" src={window.baseUrl + '/images/understanding-quality-gates.svg'} + width={500} height={175} alt="Understanding Quality Gates"/> <h2 className="about-page-header">Understanding Quality Gates</h2> <p className="about-page-text"> Your project's quality gate is the set of conditions the project must meet before it can be released diff --git a/server/sonar-web/src/main/js/apps/about/components/AboutStandards.js b/server/sonar-web/src/main/js/apps/about/components/AboutStandards.js index 874ee4ee671..7ecf3e4c4a2 100644 --- a/server/sonar-web/src/main/js/apps/about/components/AboutStandards.js +++ b/server/sonar-web/src/main/js/apps/about/components/AboutStandards.js @@ -26,8 +26,8 @@ export default class AboutStandards extends React.Component { return ( <div className="about-page-section"> <div className="about-page-container clearfix"> - <img className="pull-right" src="/images/recognized-standards.svg" width={500} height={175} - alt="Conform to recognized standards"/> + <img className="pull-right" src={window.baseUrl + '/images/recognized-standards.svg'} + width={500} height={175} alt="Conform to recognized standards"/> <h2 className="about-page-header">Conform to recognized standards</h2> <p className="about-page-text"> SonarAnalyzers offer rules that support industry standards: MISRA, CERT, CWE, OWASP Top 10 and SANS Top |