Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjakeburden <jburden@gitlab.com>2019-08-30 23:36:03 +0300
committerjakeburden <jburden@gitlab.com>2019-09-02 19:11:26 +0300
commit5c25a757dcdeb9aae38744ed8b43832ff51e3dcb (patch)
tree640958c27a8eacd5e0a608adaea5acc97fa8f31a
parent92d5518299f000ac294000fa2f50a9e53c942865 (diff)
Use “_blank” instead of :_blank
-rw-r--r--app/views/projects/pages/_access.html.haml4
-rw-r--r--app/views/projects/pages/_list.html.haml2
2 files changed, 3 insertions, 3 deletions
diff --git a/app/views/projects/pages/_access.html.haml b/app/views/projects/pages/_access.html.haml
index d404580fec8..a5ea15b2934 100644
--- a/app/views/projects/pages/_access.html.haml
+++ b/app/views/projects/pages/_access.html.haml
@@ -8,13 +8,13 @@
= _("Your pages are served under:")
%p
- = link_to @project.pages_url, target: :_blank, rel: 'noopener noreferrer' do
+ = 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
+ = link_to domain.url, target: '_blank', rel: 'noopener noreferrer' do
= domain.url
= icon('external-link')
.card-footer.alert-primary
diff --git a/app/views/projects/pages/_list.html.haml b/app/views/projects/pages/_list.html.haml
index ae8e8aeabc9..4f16110c5c9 100644
--- a/app/views/projects/pages/_list.html.haml
+++ b/app/views/projects/pages/_list.html.haml
@@ -12,7 +12,7 @@
.domain-status.ci-status-icon.has-tooltip{ class: "ci-status-icon-#{status}", title: tooltip }
= sprite_icon("status_#{status}", size: 16 )
.domain-name
- = link_to domain.url, target: :_blank, rel: 'noopener noreferrer' do
+ = link_to domain.url, target: '_blank', rel: 'noopener noreferrer' do
= domain.url
= icon('external-link')
- if domain.subject