feat(xo-web/xoa): registration panel enhancements (#4104)

Fixes #4043

- Remove useless "Trial" title
- Make the "Start trial" button bigger
This commit is contained in:
Rajaa.BARHTAOUI 2019-04-02 11:39:27 +02:00 committed by Pierre Donias
parent 71997d4e65
commit 96e6e2b72a
2 changed files with 1 additions and 2 deletions

View File

@ -1803,7 +1803,6 @@ const messages = {
// ----- Updates View -----
updateTitle: 'Updates',
registration: 'Registration',
trial: 'Trial',
settings: 'Settings',
proxySettings: 'Proxy settings',
proxySettingsHostPlaceHolder: 'Host (myproxy.example.org)',

View File

@ -405,7 +405,6 @@ const Updates = decorate([
)}
{+process.env.XOA_PLAN === 1 && (
<div>
<h2>{_('trial')}</h2>
{state.isTrialAllowed && (
<div>
{state.isRegistered ? (
@ -413,6 +412,7 @@ const Updates = decorate([
btnStyle='success'
handler={effects.startTrial}
icon='trial'
size='large'
>
{_('trialStartButton')}
</ActionButton>