Skip to content
代码片段 群组 项目
提交 94e42f53 编辑于 作者: Abhijeet Chatterjee's avatar Abhijeet Chatterjee 提交者: Coung Ngo
浏览文件

Use Pajamas button in _billing_plan_actions.html.haml

上级 2d182a35
No related branches found
No related tags found
无相关合并请求
...@@ -4,7 +4,5 @@ ...@@ -4,7 +4,5 @@
track_label: 'hand_raise_lead_form', track_label: 'hand_raise_lead_form',
track_property: plan.code } } track_property: plan.code } }
- if show_upgrade_button - if show_upgrade_button
= link_to upgrade_button_text(plan_offer_type), = render Pajamas::ButtonComponent.new(variant: :confirm, href: plan_purchase_or_upgrade_url(namespace, plan), button_options: { class: ['gl-ml-3', upgrade_button_css_classes(namespace, plan, is_current)], data: billing_upgrade_button_data(plan) }) do
plan_purchase_or_upgrade_url(namespace, plan), = upgrade_button_text(plan_offer_type)
class: ["btn btn-confirm gl-button", upgrade_button_css_classes(namespace, plan, is_current), "gl-ml-3"],
data: billing_upgrade_button_data(plan)
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册