gitlab-org--gitlab-foss/app/views/projects/pages/_access.html.haml

22 lines
652 B
Text
Raw Normal View History

- if @project.pages_deployed?
.card
.card-header
2016-02-09 12:06:55 -05:00
Access pages
.card-body
2016-02-09 12:06:55 -05:00
%p
%strong
= _("Your pages are served under:")
2016-02-09 12:06:55 -05:00
%p
2019-08-30 16:36:03 -04:00
= link_to @project.pages_url, target: '_blank', rel: 'noopener noreferrer' do
= @project.pages_url
= icon('external-link')
2016-02-09 12:06:55 -05:00
- @project.pages_domains.each do |domain|
%p
2019-08-30 16:36:03 -04:00
= link_to domain.url, target: '_blank', rel: 'noopener noreferrer' do
= domain.url
= icon('external-link')
.card-footer.alert-primary
= _("It may take up to 30 minutes before the site is available after the first deployment.")