Commit 18f010d5 authored by Mark Pundsack's avatar Mark Pundsack

Only show DevOps stages on marketing pages

parent 3e3b06a9
Pipeline #40179556 passed with stages
in 22 minutes and 2 seconds
......@@ -1049,31 +1049,38 @@ omnibus:
stage: distribution
available: 2017-01-01
alt_link: https://docs.gitlab.com/omnibus/
roi: false
cloud_native_installation:
name: Cloud Native Installation
stage: distribution
available: 2018-01-01
alt_link: https://docs.gitlab.com/ee/install/kubernetes/
roi: false
license_sync:
name: License Sync
stage: sync
alt_link: https://gitlab.com/groups/gitlab-org/-/epics/456
vision: https://gitlab.com/groups/gitlab-org/-/epics/456
roi: false
license_gitlab_com:
name: license.gitlab.com
stage: sync
roi: false
version_gitlab_com:
name: version.gitlab.com
stage: sync
roi: false
customers_gitlab_com:
name: customers.gitlab.com (Subscription portal)
stage: sync
roi: false
usage_data:
name: Usage data
stage: sync
roi: false
......@@ -32,7 +32,7 @@ extra_js:
= link_to stage.display_name, "##{key}"
  
- Gitlab::Homepage::Stage.all!.each do |stage|
- Gitlab::Homepage::Stage.all!.select{|stage| stage.dept!="ndo"}.each do |stage|
.page-container.feature-gallery.text-center.animated{ id: stage.key }
.container
%a.title-link{ href: "/stages-devops-lifecycle/#{stage.key}" }
......
......@@ -2,7 +2,7 @@
.table-container
%table.sdlc-table
%tr
- Gitlab::Homepage::Stage.all!.each do |stage|
- Gitlab::Homepage::Stage.all!.select{|stage| stage.dept!="ndo"}.each do |stage|
%td.stage-container
%a{href: "/stages-devops-lifecycle/#{stage.key}/"}
= partial "/includes/icons/sdlc-icons/#{stage.key}.svg"
......@@ -10,7 +10,7 @@
%p #{stage.display_name}
%tr.single-application-row
- Gitlab::Homepage::Stage.all!.each do |stage|
- Gitlab::Homepage::Stage.all!.select{|stage| stage.dept!="ndo"}.each do |stage|
%td.solutions-container
%a.gitlab-logo-container{href: "/stages-devops-lifecycle/#{stage.key}/"}
.competitor-tooltip
......@@ -20,7 +20,7 @@
%img.gitlab-logo{ src: "/images/devops-tools/gitlab-logo.svg" }
%tr.separate-application-row
- Gitlab::Homepage::Stage.all!.each do |stage|
- Gitlab::Homepage::Stage.all!.select{|stage| stage.dept!="ndo"}.each do |stage|
%td.competitors-container{ id: "#{stage.key}-competitors-container" }
- stage.competitors.each do |competitor|
%a.competitor-logo-container{ href: "/devops-tools/#{competitor.key.dup.tr('_', '-')}-vs-gitlab.html" }
......
......@@ -12,7 +12,7 @@
%p.table-label.separate-application-label GitLab can replace
.sdlc-table
- Gitlab::Homepage::Stage.all!.each do |stage|
- Gitlab::Homepage::Stage.all!.select{|stage| stage.dept!="ndo"}.each do |stage|
.sdlc-column
.stage-container
%a{href: "/stages-devops-lifecycle/#{stage.key}/"}
......
......@@ -25,13 +25,13 @@ extra_js:
.table-container
%table.sdlc-table
%tr
- Gitlab::Homepage::Stage.all!.each do |stage|
- Gitlab::Homepage::Stage.all!.select{|stage| stage.dept!="ndo"}.each do |stage|
%td.stage-container
= partial "/includes/icons/sdlc-icons/#{stage.key}.svg"
%p #{stage.display_name}
%tr.separate-application-row
- Gitlab::Homepage::Stage.all!.each do |stage|
- Gitlab::Homepage::Stage.all!.select{|stage| stage.dept!="ndo"}.each do |stage|
%td.competitors-container{ id: "#{stage.key}-competitors-container" }
- stage.competitors.each do |competitor|
%span.competitor-logo-container.js-roi-choose-tool{ data: { stage: stage.key, competitor: competitor.key } }
......
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