Commit 0b4baf6c authored by Andrew Fontaine's avatar Andrew Fontaine

Merge branch '322043-change-helper' into 'master'

Hide displays of certain plans on billings page

See merge request gitlab-org/gitlab!60137
parents a053d2da 6a016824
...@@ -12,8 +12,10 @@ ...@@ -12,8 +12,10 @@
.billing-plans .billing-plans
- plans.each do |plan| - plans.each do |plan|
- next if plan.hide_card
- is_default_plan = current_plan.nil? && plan.default? - is_default_plan = current_plan.nil? && plan.default?
- is_current = plan.code == current_plan&.code || is_default_plan - is_current = plan.code == current_plan&.code || is_default_plan
= render 'shared/billings/billing_plan', namespace: namespace, plan: plan, is_current: is_current, = render 'shared/billings/billing_plan', namespace: namespace, plan: plan, is_current: is_current,
plan_offer_type: upgrade_offer_type(namespace, plan) plan_offer_type: upgrade_offer_type(namespace, plan)
......
---
title: Hide display of certain plans on billings page
merge_request: 60137
author:
type: added
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