mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-15 06:33:55 +01:00
Merge pull request #8706 from overleaf/ta-beta-program-copy
Update Beta Program Copy GitOrigin-RevId: 49afa2ca394bee3d48aeb37bbe909f666ff845a2
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { useTranslation } from 'react-i18next'
|
||||
import { useTranslation, Trans } from 'react-i18next'
|
||||
import { useUserContext } from '../../../shared/context/user-context'
|
||||
|
||||
function BetaProgramSection() {
|
||||
@@ -8,10 +8,17 @@ function BetaProgramSection() {
|
||||
return (
|
||||
<>
|
||||
<h3>{t('sharelatex_beta_program')}</h3>
|
||||
{betaProgram ? null : (
|
||||
<p className="small">
|
||||
<Trans i18nKey="beta_program_benefits">
|
||||
<span />
|
||||
</Trans>
|
||||
</p>
|
||||
)}
|
||||
<p className="small">
|
||||
{betaProgram
|
||||
? t('beta_program_already_participating')
|
||||
: t('beta_program_benefits')}
|
||||
: t('beta_program_not_participating')}
|
||||
</p>
|
||||
<a href="/beta/participate">{t('manage_beta_program_membership')}</a>
|
||||
</>
|
||||
|
||||
Reference in New Issue
Block a user