Created
May 15, 2019 19:08
-
-
Save andrzejressel/417c8aebaf6b1f55712261338ee78371 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/packages/xo-web/src/xo-app/about/index.js b/packages/xo-web/src/xo-app/about/index.js | |
index f0c2538fa..7133a17ca 100644 | |
--- a/packages/xo-web/src/xo-app/about/index.js | |
+++ b/packages/xo-web/src/xo-app/about/index.js | |
@@ -65,7 +65,7 @@ export default class About extends Component { | |
{process.env.XOA_PLAN > 4 ? ( | |
<div> | |
<Row> | |
- <Col> | |
+ {/* <Col> | |
<h2 className='text-danger'>{_('noProSupport')}</h2> | |
<h4 className='text-danger'>{_('noProductionUse')}</h4> | |
<p className='text-muted'> | |
@@ -77,7 +77,7 @@ export default class About extends Component { | |
), | |
})} | |
</p> | |
- </Col> | |
+ </Col> */} | |
</Row> | |
<Row> | |
<Col mediumSize={6}> | |
diff --git a/packages/xo-web/src/xo-app/index.js b/packages/xo-web/src/xo-app/index.js | |
index 13fe8f9ee..6af56b9d2 100644 | |
--- a/packages/xo-web/src/xo-app/index.js | |
+++ b/packages/xo-web/src/xo-app/index.js | |
@@ -222,7 +222,7 @@ export default class XoApp extends Component { | |
</Link> | |
</div> | |
)} | |
- {+process.env.XOA_PLAN === 5 && ( | |
+ {+process.env.XOA_PLAN === 5 && false && ( | |
<div className='alert alert-danger mb-0'> | |
<a | |
href='https://xen-orchestra.com/#!/xoa?pk_campaign=xo_source_banner' | |
diff --git a/packages/xo-web/src/xo-app/menu/index.js b/packages/xo-web/src/xo-app/menu/index.js | |
index 305876a6e..5c815c46c 100644 | |
--- a/packages/xo-web/src/xo-app/menu/index.js | |
+++ b/packages/xo-web/src/xo-app/menu/index.js | |
@@ -253,7 +253,7 @@ export default class Menu extends Component { | |
}, | |
], | |
}, | |
- { | |
+ false && { | |
to: isAdmin ? 'xoa/update' : 'xoa/notifications', | |
icon: 'menu-xoa', | |
label: 'xoa', | |
@@ -361,7 +361,7 @@ export default class Menu extends Component { | |
label: 'taskMenu', | |
pill: nTasks, | |
}, | |
- isAdmin && { to: '/xosan', icon: 'menu-xosan', label: 'xosan' }, | |
+ isAdmin && false && { to: '/xosan', icon: 'menu-xosan', label: 'xosan' }, | |
!(noOperatablePools && noResourceSets) && { | |
to: '/vms/new', | |
icon: 'menu-new', | |
@@ -429,7 +429,7 @@ export default class Menu extends Component { | |
style={{ display: 'flex' }} | |
to='/about' | |
> | |
- {+process.env.XOA_PLAN === 5 ? ( | |
+ {(+process.env.XOA_PLAN === 5 && false) ? ( | |
<span> | |
<span | |
className={classNames( | |
diff --git a/packages/xo-web/src/xo-app/xoa/index.js b/packages/xo-web/src/xo-app/xoa/index.js | |
index 29ce400cf..c9e1cc1e2 100644 | |
--- a/packages/xo-web/src/xo-app/xoa/index.js | |
+++ b/packages/xo-web/src/xo-app/xoa/index.js | |
@@ -41,7 +41,7 @@ const Xoa = routes('xoa', { | |
licenses: Licenses, | |
notifications: Notifications, | |
})(({ children }) => | |
- +process.env.XOA_PLAN === 5 ? ( | |
+ (+process.env.XOA_PLAN === 5 && false) ? ( | |
<Container> | |
<h2 className='text-danger'>{_('noUpdaterCommunity')}</h2> | |
<p> | |
diff --git a/packages/xo-web/src/xo-app/xosan/new-xosan.js b/packages/xo-web/src/xo-app/xosan/new-xosan.js | |
index 8c7bf681a..a1f63e0ca 100644 | |
--- a/packages/xo-web/src/xo-app/xosan/new-xosan.js | |
+++ b/packages/xo-web/src/xo-app/xosan/new-xosan.js | |
@@ -301,7 +301,7 @@ export default class NewXosan extends Component { | |
} | |
render() { | |
- if (process.env.XOA_PLAN === 5) { | |
+ if (process.env.XOA_PLAN === 5 && false) { | |
return ( | |
<em> | |
{_('xosanSourcesDisclaimer', { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment