aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/marketplace
diff options
context:
space:
mode:
authorGrégoire Aubert <gregoire.aubert@sonarsource.com>2017-10-19 17:25:23 +0200
committerGrégoire Aubert <gregoire.aubert@sonarsource.com>2017-10-23 08:01:13 -0700
commit9538f9ae5502b33651f1d916ee69aaf74c121231 (patch)
treec050fe8f85aca1eac6d3fc916d318760aec89d43 /server/sonar-web/src/main/js/apps/marketplace
parent2d568ff3830cef88392656119bd2485a9ae9c8e1 (diff)
downloadsonarqube-9538f9ae5502b33651f1d916ee69aaf74c121231.tar.gz
sonarqube-9538f9ae5502b33651f1d916ee69aaf74c121231.zip
SONAR-9953 SONAR-9354 SONAR-7663 Redesign and move system upgrade in the system info page
Diffstat (limited to 'server/sonar-web/src/main/js/apps/marketplace')
-rw-r--r--server/sonar-web/src/main/js/apps/marketplace/App.tsx4
-rw-r--r--server/sonar-web/src/main/js/apps/marketplace/style.css8
2 files changed, 2 insertions, 10 deletions
diff --git a/server/sonar-web/src/main/js/apps/marketplace/App.tsx b/server/sonar-web/src/main/js/apps/marketplace/App.tsx
index 969c1c7135c..fd737dc037f 100644
--- a/server/sonar-web/src/main/js/apps/marketplace/App.tsx
+++ b/server/sonar-web/src/main/js/apps/marketplace/App.tsx
@@ -185,7 +185,7 @@ export default class App extends React.PureComponent<Props, State> {
};
updateEditionStatus = (editionStatus: EditionStatus) => {
- this.setState({ editionStatus: editionStatus });
+ this.setState({ editionStatus });
if (this.timer) {
global.clearTimeout(this.timer);
this.timer = undefined;
@@ -211,7 +211,7 @@ export default class App extends React.PureComponent<Props, State> {
return (
<div className="page page-limited" id="marketplace-page">
<Helmet title={translate('marketplace.page')} />
- <div className="marketplace-notifs">
+ <div className="page-notifs">
{editionStatus && (
<EditionsStatusNotif
editions={editions}
diff --git a/server/sonar-web/src/main/js/apps/marketplace/style.css b/server/sonar-web/src/main/js/apps/marketplace/style.css
index 6363589603f..037a0c133d9 100644
--- a/server/sonar-web/src/main/js/apps/marketplace/style.css
+++ b/server/sonar-web/src/main/js/apps/marketplace/style.css
@@ -30,11 +30,3 @@
align-items: baseline;
justify-content: space-between;
}
-
-.marketplace-notifs .alert {
- padding: 8px;
-}
-
-.marketplace-notifs .alert:last-child {
- margin-bottom: 16px;
-}