Commit 92d55182 authored by jakeburden's avatar jakeburden

Add attributes to open deployed pages in new tab

parent 14597d12
...@@ -7,9 +7,15 @@ ...@@ -7,9 +7,15 @@
%strong %strong
= _("Your pages are served under:") = _("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| - @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 .card-footer.alert-primary
= _("It may take up to 30 minutes before the site is available after the first deployment.") = _("It may take up to 30 minutes before the site is available after the first deployment.")
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