Commit 4cb6bba6 authored by Nathan Friend's avatar Nathan Friend

Merge branch...

Merge branch '233666-replace-bootstrap-alerts-in-app/views/projects/pages/_access.html.haml' into 'master'

Replace bootstrap alerts in app/.../_access.html.haml

Closes #233666

See merge request gitlab-org/gitlab!41360
parents 936fa4c3 3256c419
......@@ -14,10 +14,10 @@
%p
= external_link(domain.url, domain.url)
- unless @project.public_pages?
.card-footer.alert-warning
.card-footer.gl-alert-warning
- help_page = help_page_path('/user/project/pages/pages_access_control')
- link_start = '<a href="%{url}" target="_blank" class="alert-link" rel="noopener noreferrer">'.html_safe % { url: help_page }
- link_start = '<a href="%{url}" target="_blank" class="gl-alert-link" rel="noopener noreferrer">'.html_safe % { url: help_page }
- link_end = '</a>'.html_safe
= html_escape_once(s_('GitLabPages|Access Control is enabled for this Pages website; only authorized users will be able to access it. To make your website publicly available, navigate to your project\'s %{strong_start}Settings &gt; General &gt; Visibility%{strong_end} and select %{strong_start}Everyone%{strong_end} in pages section. Read the %{link_start}documentation%{link_end} for more information.')).html_safe % { link_start: link_start, link_end: link_end, strong_start: '<strong>'.html_safe, strong_end: '</strong>'.html_safe }
.card-footer.alert-primary
.card-footer.gl-alert-info
= s_('GitLabPages|It may take up to 30 minutes before the site is available after the first deployment.')
---
title: Replace bootstrap alerts in app/views/projects/pages/_access.html.haml
merge_request: 41360
author: Gilang Gumilar
type: changed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment