aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/permissions/project/components/App.js
diff options
context:
space:
mode:
authorStas Vilchik <stas.vilchik@sonarsource.com>2017-07-24 16:12:39 +0200
committerJulien Lancelot <julien.lancelot@sonarsource.com>2017-07-31 11:27:51 +0200
commit30cc3b95809bce6a3e1ca81ee7d661590fb772ac (patch)
tree9d5ecc869ad95e5b81c093943d50fb70f30d1219 /server/sonar-web/src/main/js/apps/permissions/project/components/App.js
parent1cbd06a5264b83da40e6d4a41e31762e5835feb6 (diff)
downloadsonarqube-30cc3b95809bce6a3e1ca81ee7d661590fb772ac.tar.gz
sonarqube-30cc3b95809bce6a3e1ca81ee7d661590fb772ac.zip
SONAR-9531 Change the application space
Diffstat (limited to 'server/sonar-web/src/main/js/apps/permissions/project/components/App.js')
-rw-r--r--server/sonar-web/src/main/js/apps/permissions/project/components/App.js30
1 files changed, 16 insertions, 14 deletions
diff --git a/server/sonar-web/src/main/js/apps/permissions/project/components/App.js b/server/sonar-web/src/main/js/apps/permissions/project/components/App.js
index d06a080b3e9..13d1290f721 100644
--- a/server/sonar-web/src/main/js/apps/permissions/project/components/App.js
+++ b/server/sonar-web/src/main/js/apps/permissions/project/components/App.js
@@ -349,20 +349,22 @@ export default class App extends React.PureComponent {
/>
<PageError />
{this.props.component.qualifier === 'TRK' &&
- <VisibilitySelector
- canTurnToPrivate={canTurnToPrivate}
- className="big-spacer-top big-spacer-bottom"
- onChange={this.handleVisibilityChange}
- visibility={this.props.component.visibility}
- />}
- {!canTurnToPrivate &&
- <UpgradeOrganizationBox organization={this.props.component.organization} />}
- {this.state.disclaimer &&
- <PublicProjectDisclaimer
- component={this.props.component}
- onClose={this.closeDisclaimer}
- onConfirm={this.turnProjectToPublic}
- />}
+ <div>
+ <VisibilitySelector
+ canTurnToPrivate={canTurnToPrivate}
+ className="big-spacer-top big-spacer-bottom"
+ onChange={this.handleVisibilityChange}
+ visibility={this.props.component.visibility}
+ />
+ {!canTurnToPrivate &&
+ <UpgradeOrganizationBox organization={this.props.component.organization} />}
+ {this.state.disclaimer &&
+ <PublicProjectDisclaimer
+ component={this.props.component}
+ onClose={this.closeDisclaimer}
+ onConfirm={this.turnProjectToPublic}
+ />}
+ </div>}
<AllHoldersList
component={this.props.component}
filter={this.state.filter}