Commit 77b4046d authored by Hiroyuki Sato's avatar Hiroyuki Sato 🇯🇵

料金ページのリンク切れを修正

parent a771d777
Pipeline #67906153 passed with stages
in 12 minutes and 49 seconds
- if feature.link == nil
= feature.title
- elsif feature.link.start_with?('/')
= link_to feature.title, "https://about.gitlab.com#{feature.link}", target: '_blank'
- else
= link_to feature.title, feature.link, target: '_blank'
......@@ -49,10 +49,7 @@ extra_js:
- data.features.features.each do |feature|
- if (feature.gitlab_core == true && feature.products_page == true)
%li.item-description
- if (feature.link != nil)
= link_to feature.title, feature.link, target: '_blank'
- if (feature.link == nil)
= feature.title
= partial 'includes/features/link', locals: { feature: feature }
= link_to "各種プランの機能比較", "/pricing/self-hosted/feature-comparison/", class: "all-features"
.col-md-3
......@@ -73,10 +70,7 @@ extra_js:
- data.features.features.each do |feature|
- if (feature.gitlab_core == false && feature.gitlab_starter == true && feature.products_page == true)
%li.item-description
- if (feature.link != nil)
= link_to feature.title, feature.link, target: '_blank'
- if (feature.link == nil)
= feature.title
= partial 'includes/features/link', locals: { feature: feature }
= link_to "各種プランの機能比較", "/pricing/self-hosted/feature-comparison/", class: "all-features"
.col-md-3
......@@ -98,10 +92,7 @@ extra_js:
- if (feature.gitlab_core == false && feature.gitlab_starter == false && feature.gitlab_premium == true && feature.products_page == true)
%li.item-description
.triangle
- if (feature.link != nil)
= link_to feature.title, feature.link, target: '_blank'
- if (feature.link == nil)
= feature.title
= partial 'includes/features/link', locals: { feature: feature }
= link_to "各種プランの機能比較", "/pricing/self-hosted/feature-comparison/", class: "all-features"
.col-md-3
......@@ -123,10 +114,7 @@ extra_js:
- if (feature.gitlab_core == false && feature.gitlab_starter == false && feature.gitlab_premium == false && feature.gitlab_ultimate == true)
%li.item-description
.triangle
- if (feature.link != nil)
= link_to feature.title, feature.link, target: '_blank'
- if (feature.link == nil)
= feature.title
= partial 'includes/features/link', locals: { feature: feature }
= link_to "各種プランの機能比較", "/pricing/self-hosted/feature-comparison/", class: "all-features"
.tab-pane{ role: "tabpanel", id: "gitlab-com"}
......@@ -161,10 +149,7 @@ extra_js:
- data.features.features.each do |feature|
- if (feature.gitlab_core == true && feature.gitlab_com != false && feature.feature_page == true)
%li.item-description
- if (feature.link != nil)
= link_to feature.title, feature.link, target: '_blank'
- if (feature.link == nil)
= feature.title
= partial 'includes/features/link', locals: { feature: feature }
= link_to "各種プランの機能比較", "/pricing/gitlab-com/feature-comparison/", class: "all-features"
- data.gitlab_com.prices.bronze_plan do |plan|
......@@ -192,10 +177,7 @@ extra_js:
- data.features.features.each do |feature|
- if (feature.gitlab_core == false && feature.gitlab_starter == true && feature.gitlab_com != false)
%li.item-description
- if (feature.link != nil)
= link_to feature.title, feature.link, target: '_blank'
- if (feature.link == nil)
= feature.title
= partial 'includes/features/link', locals: { feature: feature }
= link_to "各種プランの機能比較", "/pricing/gitlab-com/feature-comparison/", class: "all-features"
- data.gitlab_com.prices.silver_plan do |plan|
......@@ -223,10 +205,7 @@ extra_js:
- data.features.features.each do |feature|
- if (feature.gitlab_starter == false && feature.gitlab_premium == true && feature.gitlab_com != false)
%li.item-description
- if (feature.link != nil)
= link_to feature.title, feature.link, target: '_blank'
- if (feature.link == nil)
= feature.title
= partial 'includes/features/link', locals: { feature: feature }
= link_to "各種プランの機能比較", "/pricing/gitlab-com/feature-comparison/", class: "all-features"
- data.gitlab_com.prices.gold_plan do |plan|
......@@ -254,8 +233,5 @@ extra_js:
- data.features.features.each do |feature|
- if (feature.gitlab_starter == false && feature.gitlab_premium == false && feature.gitlab_ultimate == true && feature.gitlab_com != false)
%li.item-description
- if (feature.link != nil)
= link_to feature.title, feature.link, target: '_blank'
- if (feature.link == nil)
= feature.title
= partial 'includes/features/link', locals: { feature: feature }
= link_to "各種プランの機能比較", "/pricing/gitlab-com/feature-comparison/", class: "all-features"
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