Add an Upgrade button to Group's billings page
It adds an upgrade button to the group billings page that redirects to the customers portal upgrade checkout page. If the user is not logged in at the portal he/she will be automatically redirected after the login process. If the user is at the latest tier, the button won't be presented.
显示
- ee/app/assets/javascripts/billings/components/app.vue 10 个添加, 1 个删除ee/app/assets/javascripts/billings/components/app.vue
- ee/app/assets/javascripts/billings/components/subscription_table.vue 42 个添加, 12 个删除...ts/javascripts/billings/components/subscription_table.vue
- ee/app/assets/javascripts/billings/index.js 5 个添加, 1 个删除ee/app/assets/javascripts/billings/index.js
- ee/app/assets/javascripts/billings/stores/modules/subscription/state.js 1 个添加, 0 个删除...javascripts/billings/stores/modules/subscription/state.js
- ee/app/helpers/billing_plans_helper.rb 16 个添加, 0 个删除ee/app/helpers/billing_plans_helper.rb
- ee/app/models/gitlab_subscription.rb 12 个添加, 0 个删除ee/app/models/gitlab_subscription.rb
- ee/app/models/plan.rb 1 个添加, 0 个删除ee/app/models/plan.rb
- ee/app/views/groups/billings/index.html.haml 7 个添加, 2 个删除ee/app/views/groups/billings/index.html.haml
- ee/app/views/shared/billings/_billing_plan_header.html.haml 2 个添加, 2 个删除ee/app/views/shared/billings/_billing_plan_header.html.haml
- ee/app/views/shared/billings/_trial_status.html.haml 4 个添加, 4 个删除ee/app/views/shared/billings/_trial_status.html.haml
- ee/changelogs/unreleased/osw-group-level-upgrade-button.yml 5 个添加, 0 个删除ee/changelogs/unreleased/osw-group-level-upgrade-button.yml
- ee/lib/ee/api/entities.rb 1 个添加, 0 个删除ee/lib/ee/api/entities.rb
- ee/spec/features/billings/billing_plans_spec.rb 2 个添加, 2 个删除ee/spec/features/billings/billing_plans_spec.rb
- ee/spec/features/groups/billing_spec.rb 23 个添加, 8 个删除ee/spec/features/groups/billing_spec.rb
- ee/spec/fixtures/gitlab_com_plans.json 3 个添加, 0 个删除ee/spec/fixtures/gitlab_com_plans.json
- ee/spec/frontend/billings/components/__snapshots__/app_spec.js.snap 8 个添加, 0 个删除...ontend/billings/components/__snapshots__/app_spec.js.snap
- ee/spec/frontend/billings/components/__snapshots__/subscription_table_spec.js.snap 56 个添加, 0 个删除.../components/__snapshots__/subscription_table_spec.js.snap
- ee/spec/frontend/billings/components/app_spec.js 63 个添加, 0 个删除ee/spec/frontend/billings/components/app_spec.js
- ee/spec/frontend/billings/components/subscription_table_spec.js 125 个添加, 0 个删除...c/frontend/billings/components/subscription_table_spec.js
- ee/spec/frontend/billings/mock_data.js 60 个添加, 0 个删除ee/spec/frontend/billings/mock_data.js
加载中
想要评论请 注册 或 登录