Add attributes to open deployed pages in new tab

This commit is contained in:
jakeburden 2019-08-26 15:43:25 -04:00
parent 14597d129f
commit 92d5518299
1 changed files with 8 additions and 2 deletions

View File

@ -7,9 +7,15 @@
%strong
= _("Your pages are served under:")
%p= link_to @project.pages_url, @project.pages_url
%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, domain.url
%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.")