Merge pull request #13889 from Classic298/pendingtext
feat: Custom Title and Text for Account Activation Screen for pending users
This commit is contained in:
@@ -305,6 +305,26 @@
|
||||
<Switch bind:state={adminConfig.SHOW_ADMIN_DETAILS} />
|
||||
</div>
|
||||
|
||||
<div class="mb-3.5">
|
||||
<div class=" self-center text-xs font-medium mb-1">{$i18n.t('Custom Account Pending Title')}</div>
|
||||
<textarea
|
||||
class="w-full mt-1 rounded-lg py-2 px-4 text-sm bg-gray-50 dark:text-gray-300 dark:bg-gray-850 outline-hidden"
|
||||
rows="2"
|
||||
placeholder={$i18n.t('Enter a custom title to be displayed on the account pending screen. Leave empty for default.')}
|
||||
bind:value={adminConfig.ACCOUNT_PENDING_TITLE}
|
||||
></textarea>
|
||||
</div>
|
||||
|
||||
<div class="mb-3.5">
|
||||
<div class=" self-center text-xs font-medium mb-1">{$i18n.t('Custom Account Pending Text')}</div>
|
||||
<textarea
|
||||
class="w-full mt-1 rounded-lg py-2 px-4 text-sm bg-gray-50 dark:text-gray-300 dark:bg-gray-850 outline-hidden"
|
||||
rows="3"
|
||||
placeholder={$i18n.t('Enter a custom text to be displayed on the account pending screen. Leave empty for default.')}
|
||||
bind:value={adminConfig.ACCOUNT_PENDING_TEXT}
|
||||
></textarea>
|
||||
</div>
|
||||
|
||||
<div class="mb-2.5 flex w-full justify-between pr-2">
|
||||
<div class=" self-center text-xs font-medium">{$i18n.t('Enable API Key')}</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user