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 ----- // ----- Updates View -----
updateTitle: 'Updates', updateTitle: 'Updates',
registration: 'Registration', registration: 'Registration',
trial: 'Trial',
settings: 'Settings', settings: 'Settings',
proxySettings: 'Proxy settings', proxySettings: 'Proxy settings',
proxySettingsHostPlaceHolder: 'Host (myproxy.example.org)', proxySettingsHostPlaceHolder: 'Host (myproxy.example.org)',

View File

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