debian-mirror-gitlab/app/views/projects/pages/_access.html.haml

24 lines
1.4 KiB
Text
Raw Normal View History

2017-08-17 22:00:37 +05:30
- if @project.pages_deployed?
2018-11-08 19:23:39 +05:30
.card
.card-header
2019-12-21 20:55:43 +05:30
= s_('GitLabPages|Access pages')
2018-11-08 19:23:39 +05:30
.card-body
2017-08-17 22:00:37 +05:30
%p
%strong
2019-12-21 20:55:43 +05:30
= s_('GitLabPages|Your pages are served under:')
2017-08-17 22:00:37 +05:30
2019-12-04 20:38:33 +05:30
%p
= external_link(@project.pages_url, @project.pages_url)
2017-08-17 22:00:37 +05:30
- @project.pages_domains.each do |domain|
2019-12-04 20:38:33 +05:30
%p
= external_link(domain.url, domain.url)
2019-12-26 22:10:19 +05:30
- unless @project.public_pages?
2020-11-24 15:15:51 +05:30
.card-footer.gl-alert-warning
2019-12-26 22:10:19 +05:30
- help_page = help_page_path('/user/project/pages/pages_access_control')
2020-11-24 15:15:51 +05:30
- link_start = '<a href="%{url}" target="_blank" class="gl-alert-link" rel="noopener noreferrer">'.html_safe % { url: help_page }
2019-12-26 22:10:19 +05:30
- link_end = '</a>'.html_safe
2020-10-24 23:57:45 +05:30
= 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 }
2020-11-24 15:15:51 +05:30
.card-footer.gl-alert-info
2019-12-21 20:55:43 +05:30
= s_('GitLabPages|It may take up to 30 minutes before the site is available after the first deployment.')