]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-8382 fix sign up, fix image urls
authorStas Vilchik <vilchiks@gmail.com>
Wed, 16 Nov 2016 12:46:17 +0000 (13:46 +0100)
committerStas Vilchik <vilchiks@gmail.com>
Wed, 16 Nov 2016 12:46:26 +0000 (13:46 +0100)
server/sonar-web/src/main/js/apps/about/components/AboutApp.js
server/sonar-web/src/main/js/apps/about/components/AboutLeakPeriod.js
server/sonar-web/src/main/js/apps/about/components/AboutQualityGates.js
server/sonar-web/src/main/js/apps/about/components/AboutStandards.js

index 05c0e1e39e18702156e5b3c1baf659902b67c30b..f6138107d1d129f73777fa5c3c781356f9dd8f80 100644 (file)
@@ -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>
index 47d4a0296044078161d11c186992e74e3fcfb0f3..ec0d784447a37b0110448154187601d26924bdbb 100644 (file)
@@ -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
index 843403b049d520ed02edf907c3c9ec2c388c55d8..fdff94ba13a28b8eac2ef0394cd432d858d477c4 100644 (file)
@@ -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
index 874ee4ee6712926d2faf7dc8397ac2493842f43c..7ecf3e4c4a254ea5bae23125cec8477c0cf54d99 100644 (file)
@@ -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