Skip to content
Snippets Groups Projects
Commit e426da97 authored by Connor Shea's avatar Connor Shea
Browse files

Change comparisons.yml to features.yml.

parent 4d4242d8
No related branches found
No related tags found
1 merge request!6475Change comparisons.yml to features.yml
Pipeline #
Loading
Loading
@@ -16,15 +16,15 @@
%th.text-center
= product_three.short_name
%tbody.header.first
- data.comparisons.features.each do |feature|
- data.features.features.each do |feature|
// CE
- if ((feature.public_send(key_one) == true && feature.link != nil && feature.feature_page == true && feature.public_send(key_two) != nil && feature.public_send(key_three) != nil))
= partial "includes/features/matrix-row", locals: { key_one: key_one, key_two: key_two, key_three: key_three, feature: feature }
- data.comparisons.features.each do |feature|
- data.features.features.each do |feature|
// EE Starter
- if (feature.public_send(key_one) == false && feature.public_send(key_two) == true && feature.public_send(key_three) != nil)
= partial "includes/features/matrix-row", locals: { key_one: key_one, key_two: key_two, key_three: key_three, feature: feature }
- data.comparisons.features.each do |feature|
- data.features.features.each do |feature|
// EE Premium
- if (feature.public_send(key_two) == false && feature.public_send(key_three) == true)
= partial "includes/features/matrix-row", locals: { key_one: key_one, key_two: key_two, key_three: key_three, feature: feature }
Loading
Loading
@@ -37,7 +37,7 @@ extra_font:
= link_to "Install", "/installation/", class: "featured-item-button"
= link_to "View More ", "#community-edition", class: "featured-item-expand"
%ul#community-edition.featured-item-list.list-unstyled
- data.comparisons.features.each do |feature|
- data.features.features.each do |feature|
- if (feature.gitlab_ce == true && feature.feature_page == true)
%li.line-separator
%li.item-description
Loading
Loading
@@ -72,7 +72,7 @@ extra_font:
%li.item-description
%strong
All features from Community Edition plus:
- data.comparisons.features.each do |feature|
- data.features.features.each do |feature|
- if (feature.gitlab_ce == false && feature.gitlab_ees == true)
%li.line-separator
%li.item-description
Loading
Loading
@@ -107,7 +107,7 @@ extra_font:
%li.item-description
%strong
All features from Enterprise Edition Starter plus:
- data.comparisons.features.each do |feature|
- data.features.features.each do |feature|
- if (feature.gitlab_ce == false && feature.gitlab_ees == false && feature.gitlab_eep == true)
%li.line-separator
%li.item-description
Loading
Loading
@@ -125,7 +125,7 @@ extra_font:
%h2.faq-title.light.text-center
Feature Comparison
.comparison-page-content.comparison.gray-bg#comparison
= partial "includes/features/table", locals: { product_one: data.comparisons.competitors.gitlab_ce, product_two: data.comparisons.competitors.gitlab_ees, product_three: data.comparisons.competitors.gitlab_eep, key_one: 'gitlab_ce', key_two: 'gitlab_ees', key_three: 'gitlab_eep' }
= partial "includes/features/table", locals: { product_one: data.features.competitors.gitlab_ce, product_two: data.features.competitors.gitlab_ees, product_three: data.features.competitors.gitlab_eep, key_one: 'gitlab_ce', key_two: 'gitlab_ees', key_three: 'gitlab_eep' }
.text-center
= link_to "Contact Us", "https://about.gitlab.com/sales/", class: "featured-item-button contact-us-button"
 
Loading
Loading
Loading
Loading
@@ -66,7 +66,7 @@ extra_js:
%br
Total
%tbody
- data.comparisons.features.each do |feature|
- data.features.features.each do |feature|
- if feature.key?("roi_case")
%tr
%td.include
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment