Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-11-16 18:14:18 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-11-16 18:14:18 +0300
commitacee9d6fb529ca8fb91b2b07bd49bd207df23c51 (patch)
treeac718adbbcb6078e403a20dd8f9258fee4d48dbc /app/views/notify
parent77ded523f119396c72e4bcbcd008ff6b84134ef4 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/views/notify')
-rw-r--r--app/views/notify/service_desk_verification_result_email.html.haml5
-rw-r--r--app/views/notify/service_desk_verification_result_email.text.erb3
2 files changed, 8 insertions, 0 deletions
diff --git a/app/views/notify/service_desk_verification_result_email.html.haml b/app/views/notify/service_desk_verification_result_email.html.haml
index c072744c43c..faf8ae2e28c 100644
--- a/app/views/notify/service_desk_verification_result_email.html.haml
+++ b/app/views/notify/service_desk_verification_result_email.html.haml
@@ -54,5 +54,10 @@
%b
= s_('Notify|Incorrect verification token:')
= s_('Notify|We could not verify that we received the email we sent to your email inbox.')
+ - if @verification.read_timeout?
+ %p
+ %b
+ = s_('Notify|Read timeout:')
+ = s_('Notify|The SMTP server did not respond in time.')
%p
= html_escape(s_('Notify|To restart the verification process, go to your %{settings_link_start}project\'s Service Desk settings page%{settings_link_end}.')) % { settings_link_start: settings_link_start, settings_link_end: settings_link_end }
diff --git a/app/views/notify/service_desk_verification_result_email.text.erb b/app/views/notify/service_desk_verification_result_email.text.erb
index 65b0cba5616..fd2e4446d0b 100644
--- a/app/views/notify/service_desk_verification_result_email.text.erb
+++ b/app/views/notify/service_desk_verification_result_email.text.erb
@@ -32,6 +32,9 @@
<% elsif @verification.incorrect_token? %>
<%= s_('Notify|Incorrect verification token:') %>
<%= s_('Notify|We could not verify that we received the email we sent to your email inbox.') %>
+ <% elsif @verification.read_timeout? %>
+ <%= s_('Notify|Read timeout:') %>
+ <%= s_('Notify|The SMTP server did not respond in time.') %>
<% end %>
<%= s_('Notify|To restart the verification process, go to your %{settings_link_start}project\'s Service Desk settings page%{settings_link_end}.') % { settings_link_start: '', settings_link_end: '' } %>