summaryrefslogtreecommitdiff
path: root/app/views/projects/pages/_access.html.haml
blob: d404580fec8694735c90f51c4a94df81ade088bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
- if @project.pages_deployed?
  .card
    .card-header
      Access pages
    .card-body
      %p
        %strong
          = _("Your pages are served under:")

      %p
        = link_to @project.pages_url, target: :_blank, rel: 'noopener noreferrer' do
          = @project.pages_url
          = icon('external-link')

      - @project.pages_domains.each do |domain|
        %p
          = 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.")