Skip to content
Snippets Groups Projects
index.html.md.erb 1.27 KiB
Newer Older
Kenny Johnston's avatar
Kenny Johnston committed
---
layout: markdown_page
title: "Features by Tier"
description: "This page is meant to showcase the features by Paid Tier across GitLab's Product Hierarchy."
canonical_path: "/features/by-paid-tier/"
Kenny Johnston's avatar
Kenny Johnston committed
---
Kenny Johnston's avatar
Kenny Johnston committed
## Features by Stage and Tier
Brian Rhea's avatar
Brian Rhea committed
This page is meant to showcase the features by Paid Tier across GitLab's Product Hierarchy.
Kenny Johnston's avatar
Kenny Johnston committed

<% Gitlab::Homepage::Stage.all!.select{ |stage| (stage.marketing || stage.enabling) }.each do |stage| %>
  <%= "<h3 id='#{stage.display_name}'> #{stage.display_name} </h3>" %>
Justin Farris's avatar
Justin Farris committed
  <%= "\n" %>
  <%= "| Category | Features in Premium | Features in Ultimate |" %>
  <%= "|:--------:|:--------------------|:---------------------|" %>
  <% stage.categories.select{|category| category.marketing}.each do |category| %>
    <% ultimateList=[] %>
    <% premiumList=[] %>
    <% if category.features? %>
      <% category.features.each do |feature| %>
        <% ultimateList << "[#{feature.title}](#{feature.link})" if feature.gitlab_ultimate && !feature.gitlab_premium %>
        <% premiumList << "[#{feature.title}](#{feature.link})" if feature.gitlab_premium && !feature.gitlab_core %>
Kenny Johnston's avatar
Kenny Johnston committed
      <% end %>
Kenny Johnston's avatar
Kenny Johnston committed
    <% end %>
    <%= "| **[#{category.name}](#{category.best_link})** | #{premiumList.join('<br>')} | #{ultimateList.join('<br>')} | " %>