mirror of
https://github.com/go-gitea/gitea.git
synced 2024-12-04 14:46:57 -05:00
Clarify the reason why the user can't add a new email if there is a pending activation (#25509)
![image](https://github.com/go-gitea/gitea/assets/2114189/cff20df0-ad0c-4140-b8e2-5782cad8a53a)
This commit is contained in:
parent
457946d595
commit
d5f007539a
@ -696,6 +696,7 @@ requires_activation = Requires activation
|
|||||||
primary_email = Make Primary
|
primary_email = Make Primary
|
||||||
activate_email = Send Activation
|
activate_email = Send Activation
|
||||||
activations_pending = Activations Pending
|
activations_pending = Activations Pending
|
||||||
|
can_not_add_email_activations_pending = There is a pending activation, try again in a few minutes if you want to add a new email.
|
||||||
delete_email = Remove
|
delete_email = Remove
|
||||||
email_deletion = Remove Email Address
|
email_deletion = Remove Email Address
|
||||||
email_deletion_desc = The email address and related information will be removed from your account. Git commits by this email address will remain unchanged. Continue?
|
email_deletion_desc = The email address and related information will be removed from your account. Git commits by this email address will remain unchanged. Continue?
|
||||||
|
@ -128,6 +128,10 @@
|
|||||||
{{.locale.Tr "settings.add_email"}}
|
{{.locale.Tr "settings.add_email"}}
|
||||||
</button>
|
</button>
|
||||||
</form>
|
</form>
|
||||||
|
{{/* if ActivationsPending is false, then CanAddEmails must be true, so if CanAddEmails is false, ActivationsPending must be true */}}
|
||||||
|
{{if not .CanAddEmails}}
|
||||||
|
<div class="ui warning message">{{.locale.Tr "settings.can_not_add_email_activations_pending"}}</div>
|
||||||
|
{{end}}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<h4 class="ui top attached error header">
|
<h4 class="ui top attached error header">
|
||||||
|
Loading…
Reference in New Issue
Block a user