Commit a4823d53 authored by Lauren Barker's avatar Lauren Barker

Add Google Tag Manager to usage tab in User Settings

This adds GTM to -/profile/usage_quotas#pipelines-quota-tab.

Resolves https://gitlab.com/gitlab-com/marketing/digital-experience/buyer-experience/-/issues/234
parent d31b218a
- content_for :page_specific_javascripts do
= render "layouts/google_tag_manager_head"
= render "layouts/one_trust"
= render "layouts/google_tag_manager_body"
- page_title s_("UsageQuota|Usage") - page_title s_("UsageQuota|Usage")
- url_to_purchase_storage = buy_storage_path(@group) if purchase_storage_link_enabled?(@group) - url_to_purchase_storage = buy_storage_path(@group) if purchase_storage_link_enabled?(@group)
- pending_members_page_path = pending_members_group_usage_quotas_path(@group) if @group.user_cap_available? - pending_members_page_path = pending_members_group_usage_quotas_path(@group) if @group.user_cap_available?
......
- content_for :page_specific_javascripts do
= render "layouts/google_tag_manager_head"
= render "layouts/one_trust"
= render "layouts/google_tag_manager_body"
- page_title s_("UsageQuota|Usage") - page_title s_("UsageQuota|Usage")
- @content_class = "limit-container-width" unless fluid_layout - @content_class = "limit-container-width" unless fluid_layout
- url_to_purchase_storage = purchase_storage_url if purchase_storage_link_enabled?(@namespace) - url_to_purchase_storage = purchase_storage_url if purchase_storage_link_enabled?(@namespace)
......
- page_title _('Buy CI Minutes') - page_title _('Buy CI Minutes')
- content_for :page_specific_javascripts do - content_for :page_specific_javascripts do
= render "layouts/one_trust" = render "layouts/one_trust"
= render "layouts/google_tag_manager_head"
= render "layouts/google_tag_manager_body"
#js-buy-minutes{ data: buy_addon_data(@group, @account_id, @active_subscription, 'pipelines-quota-tab', s_('Checkout|CI minutes')) } #js-buy-minutes{ data: buy_addon_data(@group, @account_id, @active_subscription, 'pipelines-quota-tab', s_('Checkout|CI minutes')) }
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