diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2016-11-16 13:46:17 +0100 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2016-11-16 13:46:26 +0100 |
commit | 3d4c362f1d95f5d093fb2c99ad999cc3f93cef05 (patch) | |
tree | 2b072d7a649ab3dac17ded5a5f6d38ffb5e018eb /server/sonar-web/src/main | |
parent | ddc9f0a8432a23c4c82542722b31939c133c1602 (diff) | |
download | sonarqube-3d4c362f1d95f5d093fb2c99ad999cc3f93cef05.tar.gz sonarqube-3d4c362f1d95f5d093fb2c99ad999cc3f93cef05.zip |
SONAR-8382 fix sign up, fix image urls
Diffstat (limited to 'server/sonar-web/src/main')
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 |