Add warning about Pages initial deployment delay

This commit adds a warning message that is always displayed that informs
users that their GitLab Pages sites will take a bit of time before they
can be accessed after being deployed for the first time.
上级 79011fab
......@@ -5,9 +5,11 @@
.card-body
%p
%strong
Congratulations! Your pages are served under:
= _("Your pages are served under:")
%p= link_to @project.pages_url, @project.pages_url
- @project.pages_domains.each do |domain|
%p= link_to domain.url, domain.url
.card-footer.alert-primary
= _("It may take up to 30 minutes before the site is available after the first deployment.")
---
title: Add warning about initial deployment delay for GitLab Pages sites
merge_request: 32122
author:
type: added
......@@ -6257,6 +6257,9 @@ msgstr ""
msgid "Issues, merge requests, pushes, and comments."
msgstr ""
msgid "It may take up to 30 minutes before the site is available after the first deployment."
msgstr ""
msgid "It must have a header row and at least two columns: the first column is the issue title and the second column is the issue description. The separator is automatically detected."
msgstr ""
......@@ -13608,6 +13611,9 @@ msgstr ""
msgid "Your new personal access token has been created."
msgstr ""
msgid "Your pages are served under:"
msgstr ""
msgid "Your password reset token has expired."
msgstr ""
......
......@@ -30,6 +30,12 @@ shared_examples 'pages settings editing' do
expect(page).to have_content('Access pages')
end
it 'renders first deployment warning' do
visit project_pages_path(project)
expect(page).to have_content('It may take up to 30 minutes before the site is available after the first deployment.')
end
context 'when support for external domains is disabled' do
it 'renders message that support is disabled' do
visit project_pages_path(project)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册