feat(xo-web/XOA update): display "Downgrade" when trial is over (#2845)
Fixes #1483
This commit is contained in:
parent
3d869d9fa1
commit
c6f3b2b1ce
@ -1532,6 +1532,7 @@ const messages = {
|
|||||||
update: 'Update',
|
update: 'Update',
|
||||||
refresh: 'Refresh',
|
refresh: 'Refresh',
|
||||||
upgrade: 'Upgrade',
|
upgrade: 'Upgrade',
|
||||||
|
downgrade: 'Downgrade',
|
||||||
noUpdaterCommunity: 'No updater available for Community Edition',
|
noUpdaterCommunity: 'No updater available for Community Edition',
|
||||||
considerSubscribe:
|
considerSubscribe:
|
||||||
'Please consider subscribing and trying it with all the features for free during 15 days on {link}.',
|
'Please consider subscribing and trying it with all the features for free during 15 days on {link}.',
|
||||||
|
@ -234,7 +234,9 @@ export default class XoaUpdates extends Component {
|
|||||||
handler={upgrade}
|
handler={upgrade}
|
||||||
icon='upgrade'
|
icon='upgrade'
|
||||||
>
|
>
|
||||||
{_('upgrade')}
|
{trial.state !== 'untrustedTrial'
|
||||||
|
? _('upgrade')
|
||||||
|
: _('downgrade')}
|
||||||
</ActionButton>
|
</ActionButton>
|
||||||
<hr />
|
<hr />
|
||||||
<div>
|
<div>
|
||||||
|
Loading…
Reference in New Issue
Block a user